diff options
-rw-r--r-- | src/bundler/bundle_v2.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bundler/bundle_v2.zig b/src/bundler/bundle_v2.zig index 3b45d5f84..76f532704 100644 --- a/src/bundler/bundle_v2.zig +++ b/src/bundler/bundle_v2.zig @@ -3995,7 +3995,7 @@ const LinkerContext = struct { { if (other_kind == .esm) { flags[other_file].wrap = .esm; - } else if (!force_cjs_to_esm[other_file]) { + } else { flags[other_file].wrap = .cjs; exports_kind[other_file] = .cjs; } |