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