fix(vite): disable manual chunks for now
This commit is contained in:
parent
72636f3332
commit
53cf40c88f
1 changed files with 1 additions and 12 deletions
|
@ -43,18 +43,7 @@ if (shouldBuildLegacy()) {
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
resolve: { alias: { '@utils': '/shared/utils.ts' } },
|
resolve: { alias: { '@utils': '/shared/utils.ts' } },
|
||||||
build: {
|
build: { sourcemap: true },
|
||||||
sourcemap: true,
|
|
||||||
rollupOptions: {
|
|
||||||
output: {
|
|
||||||
manualChunks(id) {
|
|
||||||
if (id.match('maplibre') || id.match('mapbox')) {
|
|
||||||
return 'maplibre';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
plugins
|
plugins
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue