Browse Source

chore: monacoEditor 独立分包

许俊杰 3 years ago
parent
commit
f038f967e0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Web/vite.config.ts

+ 1 - 0
Web/vite.config.ts

@@ -48,6 +48,7 @@ const viteConfig = defineConfig((mode: ConfigEnv) => {
 					manualChunks: {
 						vue: ['vue', 'vue-router', 'pinia'],
 						echarts: ['echarts'],
+						monacoEditor: ['monaco-editor'],
 					},
 				},
 			},