diff options
author | 2022-02-18 15:25:09 -0800 | |
---|---|---|
committer | 2022-02-18 15:25:09 -0800 | |
commit | 37aafb61bedd2a7c349f41c821343bb66c63c593 (patch) | |
tree | cb15f4767ba193850d25b585710ad5197e92281a | |
parent | ad9ced2cc7b20fafe15d4780871e4473b4051642 (diff) | |
download | bun-37aafb61bedd2a7c349f41c821343bb66c63c593.tar.gz bun-37aafb61bedd2a7c349f41c821343bb66c63c593.tar.zst bun-37aafb61bedd2a7c349f41c821343bb66c63c593.zip |
Update bundler.zig
-rw-r--r-- | src/bundler.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bundler.zig b/src/bundler.zig index d8376da2d..39368d529 100644 --- a/src/bundler.zig +++ b/src/bundler.zig @@ -2763,6 +2763,8 @@ pub const Bundler = struct { opts.transform_require_to_import = true; opts.can_import_from_bundle = bundler.options.node_modules_bundle != null; + opts.tree_shaking = bundler.options.tree_shaking; + // HMR is enabled when devserver is running // unless you've explicitly disabled it // or you're running in SSR |