From 3bdd03b152a825737e2cf11643fad6aeaa33c90d Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 25 Nov 2021 18:39:13 +0800 Subject: [PATCH] workflow: use terser minification when checking size --- packages/size-check/vite.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/size-check/vite.config.js b/packages/size-check/vite.config.js index a14a91c2..b8d714e0 100644 --- a/packages/size-check/vite.config.js +++ b/packages/size-check/vite.config.js @@ -5,6 +5,7 @@ export default { output: { entryFileNames: `[name].js` } - } + }, + minify: 'terser' } }