Skip to content

Commit 032a197

Browse files
committed
fix: do not include terser if not in production
1 parent 2db419a commit 032a197

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export function createPlugins(
176176
},
177177
}
178178
: {},
179-
true
179+
process.env.NODE_ENV === "production"
180180
)
181181

182182
// utility function that pushes a plugin

0 commit comments

Comments
 (0)