فهرست منبع

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 سال پیش
والد
کامیت
4c48ff22db
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  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,