diff options
author | 2021-10-16 20:23:25 -0700 | |
---|---|---|
committer | 2021-10-16 20:23:25 -0700 | |
commit | 9000165718791c22de2da7bf391b4d67c59b4976 (patch) | |
tree | 5b655251ac797acb9fed97e58ed2b8586ed4e053 | |
parent | 54b313cc5ac7697fd08f696eb564bbc0ce0dd28b (diff) | |
download | bun-9000165718791c22de2da7bf391b4d67c59b4976.tar.gz bun-9000165718791c22de2da7bf391b4d67c59b4976.tar.zst bun-9000165718791c22de2da7bf391b4d67c59b4976.zip |
Ensure `self` is always defined
-rw-r--r-- | src/runtime.footer.js | 1 |
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; |