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({
|
||||
resolve: { alias: { '@utils': '/shared/utils.ts' } },
|
||||
build: {
|
||||
sourcemap: true,
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks(id) {
|
||||
if (id.match('maplibre') || id.match('mapbox')) {
|
||||
return 'maplibre';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
build: { sourcemap: true },
|
||||
plugins
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue