Explorar el Código

chore: minify config for playground

Evan You hace 1 año
padre
commit
91fc0d1251
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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,
       },