fix(manualchunk): drop manual check, not able to get polyfill flapMap [from map/styles/base.ts] ; [ffx 60-66]
This commit is contained in:
parent
252222e6a3
commit
fd36b27193
1 changed files with 1 additions and 10 deletions
|
@ -44,16 +44,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';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sourcemap: true
|
||||
},
|
||||
plugins
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue