Skip to content

Commit 60244e5

Browse files
committed
Enable minimize in webpack in production
1 parent 43c33de commit 60244e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ module.exports = {
3535
})
3636
],
3737
optimization: {
38-
minimize: false,
38+
// minimize will be enabled in Github Actions
39+
minimize: process.env.NODE_ENV === 'production',
3940
},
4041
output: {
4142
filename: '[name].js',

0 commit comments

Comments
 (0)