Browse Source

workflow: use terser minification when checking size

Evan You 4 năm trước cách đây
mục cha
commit
3bdd03b152
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      packages/size-check/vite.config.js

+ 2 - 1
packages/size-check/vite.config.js

@@ -5,6 +5,7 @@ export default {
       output: {
         entryFileNames: `[name].js`
       }
-    }
+    },
+    minify: 'terser'
   }
 }