fix(vite.manualChunk): re-apply as mentionned in prior commit
This commit is contained in:
parent
9b03e6ecf4
commit
252222e6a3
1 changed files with 9 additions and 1 deletions
|
@ -45,7 +45,15 @@ export default defineConfig({
|
|||
resolve: { alias: { '@utils': '/shared/utils.ts' } },
|
||||
build: {
|
||||
sourcemap: true,
|
||||
polyfillDynamicImport: true
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks(id) {
|
||||
if (id.match('maplibre') || id.match('mapbox')) {
|
||||
return 'maplibre';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
plugins
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue