aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-05-02 23:03:29 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-05-02 23:03:39 -0700
commitb2a50671abda18238506f47adecba71126ed6dd2 (patch)
treeaa303ff59eefb0fb76791c7c73fe67e1fac46e35
parentca776326cffd0923d8d225e7e2d890cef7a17e4a (diff)
downloadbun-b2a50671abda18238506f47adecba71126ed6dd2.tar.gz
bun-b2a50671abda18238506f47adecba71126ed6dd2.tar.zst
bun-b2a50671abda18238506f47adecba71126ed6dd2.zip
add deoptimization
-rw-r--r--src/bundler/bundle_v2.zig2
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;
}