瀏覽代碼

chore: monacoEditor 独立分包

许俊杰 3 年之前
父節點
當前提交
f038f967e0
共有 1 個文件被更改,包括 1 次插入0 次删除
  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'],
 					},
 				},
 			},