aboutsummaryrefslogtreecommitdiffstats
path: root/vite.config.js
blob: 217b46c1b8cd17076a7872efeaf3c31570cf969d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
export default {
  build: {
    sourcemap: true,
    outDir: "dist",
    assetsDir: "assets",
    rollupOptions: {
      output: {
        manualChunks: {
          ol: ['ol'],
          bootstrap: ['bootstrap'],
          proj4: ['proj4'],
        }
      }
    }
  },
  css: {
    devSourcemap: true
  },
  resolve: {
    alias: {
      "~bootstrap": "node_modules/bootstrap",
      "~bootstrap-icons": "node_modules/bootstrap-icons",
      "~ol": "node_modules/ol",
    }
  },
  server: {
    host: "::1",
    port: 5173,
    stictPort: true
  }
}