aboutsummaryrefslogtreecommitdiff
path: root/src/runtime.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-06-24 06:59:47 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-06-24 06:59:47 -0700
commit7bb75f55530e52447b9c68bc5b0908bf734ba184 (patch)
treee30b431d6f257824f2821c56a2ec01136938cc5e /src/runtime.js
parent6d6a89780b10816de38c465b1e6bb583979feacd (diff)
downloadbun-7bb75f55530e52447b9c68bc5b0908bf734ba184.tar.gz
bun-7bb75f55530e52447b9c68bc5b0908bf734ba184.tar.zst
bun-7bb75f55530e52447b9c68bc5b0908bf734ba184.zip
Add dynamic require support
Diffstat (limited to 'src/runtime.js')
-rw-r--r--src/runtime.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime.js b/src/runtime.js
index efb0265e4..c70f1207d 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -52,8 +52,8 @@ export var __toModule = (module) => {
);
};
-var tagSymbol = Symbol("CommonJSTransformed");
-var cjsRequireSymbol = Symbol("CommonJS");
+var tagSymbol = Symbol.for("CommonJSTransformed");
+var cjsRequireSymbol = Symbol.for("CommonJS");
export var __commonJS = (cb, name) => {
var mod;
var has_run = false;