diff options
author | 2023-07-26 16:06:04 -0700 | |
---|---|---|
committer | 2023-07-26 16:06:04 -0700 | |
commit | f3200ac0ca2f15cce329be8f9652958240367934 (patch) | |
tree | e93a953571b983b3aca33174a7bc2ad4deece3c0 /src | |
parent | 011b50589cd71a41e4f3ee5879a1c99747d31e03 (diff) | |
download | bun-f3200ac0ca2f15cce329be8f9652958240367934.tar.gz bun-f3200ac0ca2f15cce329be8f9652958240367934.tar.zst bun-f3200ac0ca2f15cce329be8f9652958240367934.zip |
Don't hoist bun plugin in concurrent transpiler
Diffstat (limited to 'src')
-rw-r--r-- | src/bun.js/module_loader.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bun.js/module_loader.zig b/src/bun.js/module_loader.zig index 412615fcf..245b2ffa1 100644 --- a/src/bun.js/module_loader.zig +++ b/src/bun.js/module_loader.zig @@ -347,6 +347,7 @@ pub const RuntimeTranspilerStore = struct { var allocator = arena.allocator(); bundler.setAllocator(allocator); bundler.setLog(&this.log); + bundler.resolver.opts = bundler.options; bundler.macro_context = null; bundler.linker.resolver = &bundler.resolver; @@ -397,7 +398,7 @@ pub const RuntimeTranspilerStore = struct { .macro_remappings = macro_remappings, .jsx = bundler.options.jsx, .virtual_source = null, - .hoist_bun_plugin = true, + .hoist_bun_plugin = false, .dont_bundle_twice = true, .allow_commonjs = true, .inject_jest_globals = bundler.options.rewrite_jest_for_tests and |