Commit 2eb81cbe by CaIon

chore: Chunking Strategy

parent da872880
......@@ -29,6 +29,19 @@ export default defineConfig({
},
},
},
build: {
rollupOptions: {
output: {
manualChunks: {
'react-vendor': ['react', 'react-dom'],
'semi': ['@douyinfe/semi-ui'],
'icons': ['@douyinfe/semi-icons'],
'semantic': ['semantic-ui-react'],
'visactor': ['@visactor/react-vchart', '@visactor/vchart']
},
},
},
},
server: {
proxy: {
'/api': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment