From 53cf40c88fddddf102dd93adf0c2abf0d3f2e763 Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Fri, 1 Jul 2022 10:27:09 +0200 Subject: [PATCH] fix(vite): disable manual chunks for now --- vite.config.ts | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index c1eefb422..51733d769 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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 });