aboutsummaryrefslogtreecommitdiff
path: root/src/js_parser.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-04-16 20:15:47 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-04-16 20:15:47 -0700
commitc916a55eadc6cc730084ae6851a57fcb8d9b85e6 (patch)
treecbfce074a11f53f51c39030a4b7e1bd4d70232f2 /src/js_parser.zig
parent31319c01771da83aba58716289c44bdc9db6391e (diff)
downloadbun-c916a55eadc6cc730084ae6851a57fcb8d9b85e6.tar.gz
bun-c916a55eadc6cc730084ae6851a57fcb8d9b85e6.tar.zst
bun-c916a55eadc6cc730084ae6851a57fcb8d9b85e6.zip
Lazily wrap
Diffstat (limited to '')
-rw-r--r--src/js_parser.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js_parser.zig b/src/js_parser.zig
index 45e585d27..23e17a58d 100644
--- a/src/js_parser.zig
+++ b/src/js_parser.zig
@@ -3290,7 +3290,7 @@ pub const Parser = struct {
}
if (exports_kind == .esm and p.commonjs_named_exports.count() > 0 and !p.unwrap_all_requires) {
- exports_kind = .esm_with_dynamic_fallback;
+ exports_kind = .esm_with_dynamic_fallback_from_cjs;
}
// Auto inject jest globals into the test file