diff options
author | 2021-09-02 11:51:52 -0700 | |
---|---|---|
committer | 2021-09-02 11:51:52 -0700 | |
commit | 2fa09f7c09d48ac74049fd60231cd4a3a2764a31 (patch) | |
tree | 2bf645774a18710b2435e24dea4bde91cb17cbd5 /src/runtime.zig | |
parent | 47c660f2e1438d76682b59ae84592e7e03639878 (diff) | |
download | bun-2fa09f7c09d48ac74049fd60231cd4a3a2764a31.tar.gz bun-2fa09f7c09d48ac74049fd60231cd4a3a2764a31.tar.zst bun-2fa09f7c09d48ac74049fd60231cd4a3a2764a31.zip |
Fix UMD, fix PNPM, importing require'd modules in app code
Former-commit-id: 3d831ad95904d2123964f2ebccff48f1e9f954e9
Diffstat (limited to '')
-rw-r--r-- | src/runtime.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime.zig b/src/runtime.zig index b694aa41a..c426ccb07 100644 --- a/src/runtime.zig +++ b/src/runtime.zig @@ -161,7 +161,7 @@ pub const Runtime = struct { pub const Imports = struct { __name: ?Ref = null, __toModule: ?Ref = null, - __commonJS: ?Ref = null, + __cJS2eSM: ?Ref = null, __require: ?Ref = null, __export: ?Ref = null, __reExport: ?Ref = null, @@ -177,7 +177,7 @@ pub const Runtime = struct { "__name", "__toModule", "__require", - "__commonJS", + "__cJS2eSM", "__export", "__reExport", "__load", |