Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
4c48ff22db
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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,