aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/runtime.footer.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime.footer.js b/src/runtime.footer.js
index 77b2bc6ac..0394a6624 100644
--- a/src/runtime.footer.js
+++ b/src/runtime.footer.js
@@ -16,3 +16,4 @@ export var __export = BUN_RUNTIME.__export;
export var __reExport = BUN_RUNTIME.__reExport;
export var __cJS2eSM = BUN_RUNTIME.__cJS2eSM;
export var regeneratorRuntime = BUN_RUNTIME.regeneratorRuntime;
+globalThis.require ||= BUN_RUNTIME.__require;