]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
workflow: use terser minification when checking size
authorEvan You <yyx990803@gmail.com>
Thu, 25 Nov 2021 10:39:13 +0000 (18:39 +0800)
committerEvan You <yyx990803@gmail.com>
Thu, 25 Nov 2021 10:39:13 +0000 (18:39 +0800)
packages/size-check/vite.config.js

index a14a91c2734582ba89a5ea8b40b2a34603456a97..b8d714e0f2a6df92dd72e5f196a8693943468b74 100644 (file)
@@ -5,6 +5,7 @@ export default {
       output: {
         entryFileNames: `[name].js`
       }
-    }
+    },
+    minify: 'terser'
   }
 }