aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5f2773159..9bea7273d 100644
--- a/src/runtime.footer.js
+++ b/src/runtime.footer.js
@@ -21,3 +21,4 @@ export var __exportDefault = BUN_RUNTIME.__exportDefault;
export var $$bun_runtime_json_parse = JSON.parse;
globalThis.require ||= BUN_RUNTIME.__require;
+globalThis.self ||= globalThis;