parent
f585e2ab7c
commit
d95a800b4b
1 changed files with 10 additions and 0 deletions
|
@ -171,6 +171,16 @@ export default defineConfig(({ command, mode }) => {
|
|||
},
|
||||
rollupOptions: {
|
||||
plugins: [nodePolyfills()],
|
||||
maxParallelFileOps: 2,
|
||||
cache: false,
|
||||
output: {
|
||||
sourcemap,
|
||||
manualChunks: id => {
|
||||
if (id.includes("node_modules")) {
|
||||
return "vendor";
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
optimizeDeps: {
|
||||
|
|
Loading…
Reference in a new issue