fix(manualchunk): drop manual check, not able to get polyfill flapMap [from map/styles/base.ts] ; [ffx 60-66]

This commit is contained in:
Martin 2022-06-30 19:22:27 +02:00 committed by mfo
parent 252222e6a3
commit fd36b27193

View file

@ -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
});