]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: minify config for playground
authorEvan You <evan@vuejs.org>
Fri, 6 Dec 2024 15:06:37 +0000 (23:06 +0800)
committerEvan You <evan@vuejs.org>
Fri, 6 Dec 2024 15:06:37 +0000 (23:06 +0800)
playground/vite.prod.config.ts

index f46710c69314a141ed282820f5d793209529cca9..6bafb7a772ab44e7de1832a23954a628d5329f30 100644 (file)
@@ -6,8 +6,9 @@ export default defineConfig({
   build: {
     modulePreload: false,
     target: 'esnext',
-    minify: false,
+    minify: 'terser',
     terserOptions: {
+      format: { comments: false },
       compress: {
         pure_getters: true,
       },