We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa97c3e commit ba6075aCopy full SHA for ba6075a
1 file changed
site/vite.config.js
@@ -4,4 +4,18 @@ import vue from '@vitejs/plugin-vue'
4
export default defineConfig({
5
base: '/',
6
plugins: [vue()],
7
+ build: {
8
+ rollupOptions: {
9
+ output: {
10
+ manualChunks(id) {
11
+ if (id.includes('node_modules/ol-mapbox-style')) return 'ol-mapbox-style'
12
+ if (id.includes('node_modules/ol-pmtiles')) return 'ol-pmtiles'
13
+ if (id.includes('node_modules/ol/')) return 'ol'
14
+ if (id.includes('node_modules/apache-arrow')) return 'arrow'
15
+ if (id.includes('node_modules/@duckdb')) return 'duckdb'
16
+ if (id.includes('node_modules/vue')) return 'vue'
17
+ },
18
19
20
21
})
0 commit comments