aboutsummaryrefslogtreecommitdiffstats
path: root/vite.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'vite.config.js')
-rw-r--r--vite.config.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/vite.config.js b/vite.config.js
index 668b49f..217b46c 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -2,7 +2,16 @@ export default {
build: {
sourcemap: true,
outDir: "dist",
- assetsDir: "assets"
+ assetsDir: "assets",
+ rollupOptions: {
+ output: {
+ manualChunks: {
+ ol: ['ol'],
+ bootstrap: ['bootstrap'],
+ proj4: ['proj4'],
+ }
+ }
+ }
},
css: {
devSourcemap: true