Browse Source

chore: build css code split true

richard1015 4 years ago
parent
commit
351df2d7ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vite.config.ts

+ 1 - 1
vite.config.ts

@@ -40,7 +40,7 @@ export default defineConfig({
   build: {
     target: 'es2015',
     outDir: './dist/3x/',
-    cssCodeSplit: false,
+    cssCodeSplit: true,
     rollupOptions: {
       input: {
         doc: resolve(__dirname, 'index.html'),