Skip to content

Commit 6dcbf37

Browse files
committed
chore: cleanup
1 parent 3d58f49 commit 6dcbf37

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/build-tools/src/createConfig.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ exports.createConfig = (config, target = { chrome: 52, firefox: 48 }) => {
121121
compress: {
122122
// turn off flags with small gains to speed up minification
123123
arrows: false,
124-
collapse_vars: false, // 0.3kb
124+
collapse_vars: false,
125125
comparisons: false,
126126
computed_props: false,
127127
hoist_funs: false,
@@ -139,10 +139,10 @@ exports.createConfig = (config, target = { chrome: 52, firefox: 48 }) => {
139139

140140
// a few flags with noticable gains/speed ratio
141141
// numbers based on out of the box vendor bundle
142-
booleans: true, // 0.7kb
143-
if_return: true, // 0.4kb
144-
sequences: true, // 0.7kb
145-
unused: true, // 2.3kb
142+
booleans: true,
143+
if_return: true,
144+
sequences: true,
145+
unused: true,
146146

147147
// required features to drop conditional branches
148148
conditionals: true,

0 commit comments

Comments
 (0)