소스 검색

chore: minify config for playground

Evan You 1 년 전
부모
커밋
91fc0d1251
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      playground/vite.prod.config.ts

+ 2 - 1
playground/vite.prod.config.ts

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