aboutsummaryrefslogtreecommitdiff
path: root/src/bundler.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/bundler.zig')
-rw-r--r--src/bundler.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bundler.zig b/src/bundler.zig
index 920f658c3..cf0e0a4f8 100644
--- a/src/bundler.zig
+++ b/src/bundler.zig
@@ -1340,6 +1340,7 @@ pub const Bundler = struct {
opts.features.inject_jest_globals = this_parse.inject_jest_globals;
opts.features.minify_syntax = bundler.options.minify_syntax;
opts.features.minify_identifiers = bundler.options.minify_identifiers;
+ opts.features.dead_code_elimination = bundler.options.dead_code_elimination;
if (bundler.macro_context == null) {
bundler.macro_context = js_ast.Macro.MacroContext.init(bundler);