fix(vite): disable manual chunks for now

This commit is contained in:
Paul Chavard 2022-07-01 10:27:09 +02:00
parent 72636f3332
commit 53cf40c88f

View file

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