Browse Source

chore: monacoEditor 独立分包

许俊杰 3 năm trước cách đây
mục cha
commit
f038f967e0
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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'],
 					},
 				},
 			},