Commit b4c09e36 authored by haiyoucuv's avatar haiyoucuv

net

parent d57cd0fc
......@@ -41,6 +41,16 @@ export default defineConfig(({ mode }): UserConfig => {
assetsInclude: [/\.(svga)$/],
build: {
cssTarget: 'chrome61',
rollupOptions: {
output: {
// 手动指定分块
manualChunks(id) {
if (id.includes('node_modules')) {
return 'vendor';
}
},
},
},
},
plugins: [
react({
......
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 to comment