aboutsummaryrefslogtreecommitdiff
path: root/src/bundler.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/bundler.zig')
-rw-r--r--src/bundler.zig4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bundler.zig b/src/bundler.zig
index aba5f9e5a..00a9d6954 100644
--- a/src/bundler.zig
+++ b/src/bundler.zig
@@ -565,9 +565,7 @@ pub const Bundler = struct {
try this.runEnvLoader();
- if (this.env.isProduction()) {
- this.options.jsx.setProduction(this.allocator, true);
- }
+ this.options.jsx.setProduction(this.env.isProduction());
js_ast.Expr.Data.Store.create(this.allocator);
js_ast.Stmt.Data.Store.create(this.allocator);