Selaa lähdekoodia

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 vuotta sitten
vanhempi
sitoutus
4c48ff22db
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      scripts/webpack.conf.js

+ 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,