From c916a55eadc6cc730084ae6851a57fcb8d9b85e6 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Sun, 16 Apr 2023 20:15:47 -0700 Subject: Lazily wrap --- src/js_parser.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/js_parser.zig') 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 -- cgit v1.2.3