1
0
Эх сурвалжийг харах

chore: enable inlining of vars/consts

previously it was disabled because Terser incorrectly inlined bigFunction() call as an in-place IIFE, which needlessly recreated the function each time it ran
tophf 3 жил өмнө
parent
commit
4c48ff22db

+ 0 - 1
scripts/webpack.conf.js

@@ -31,7 +31,6 @@ const MIN_OPTS = {
     compress: {
       // `terser` often inlines big one-time functions inside a small "hot" function
       reduce_funcs: false,
-      reduce_vars: false,
     },
     output: {
       ascii_only: true,