aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bundler.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bundler.zig b/src/bundler.zig
index fa3cca0d7..011634b7a 100644
--- a/src/bundler.zig
+++ b/src/bundler.zig
@@ -1387,7 +1387,7 @@ pub const Bundler = struct {
opts.legacy_transform_require_to_import = bundler.options.allow_runtime and !bundler.options.target.isBun();
opts.features.allow_runtime = bundler.options.allow_runtime;
opts.features.trim_unused_imports = bundler.options.trim_unused_imports orelse loader.isTypeScript();
- opts.features.should_fold_typescript_constant_expressions = loader.isTypeScript() or target.isBun() or bundler.options.inlining;
+ opts.features.should_fold_typescript_constant_expressions = loader.isTypeScript() or target.isBun() or bundler.options.minify_syntax;
opts.features.dynamic_require = target.isBun();
opts.transform_only = bundler.options.transform_only;