Revert "Merge pull request #7509 from betagouv/US/fix-dynamic-imports-on-ff-60-69"

This reverts commit 8e13015e85, reversing
changes made to 3a16905d79.
This commit is contained in:
Paul Chavard 2022-06-30 09:34:08 +02:00
parent 8e13015e85
commit 4844f27404
6 changed files with 49 additions and 49 deletions

View file

@ -44,7 +44,16 @@ if (shouldBuildLegacy()) {
export default defineConfig({
resolve: { alias: { '@utils': '/shared/utils.ts' } },
build: {
sourcemap: true
sourcemap: true,
rollupOptions: {
output: {
manualChunks(id) {
if (id.match('maplibre') || id.match('mapbox')) {
return 'maplibre';
}
}
}
}
},
plugins
});