/* eslint-disable */ import path from 'path'; export default { build: { sourcemap: true, outDir: "dist", assetsDir: "assets", rollupOptions: { output: { codeSplitting: { groups: [ { name: 'ol_source', test: /node_modules[\\/]ol[\\/]source/, }, { name: 'ol', test: /node_modules[\\/]ol/, }, { name: 'bootstrap', test: /node_modules[\\/]bootstrap/, }, { name: 'proj4', test: /node_modules[\\/]proj4/, }, ], }, } } }, css: { devSourcemap: true }, resolve: { alias: { "~bootstrap": path.resolve(__dirname, "node_modules/bootstrap"), "~bootstrap-icons": path.resolve(__dirname, "node_modules/bootstrap-icons"), "~ol": path.resolve(__dirname, "node_modules/ol"), "~fontsource": path.resolve(__dirname, "node_modules/@fontsource"), } }, server: { host: "::1", port: 5173, strictPort: true, watch: { ignored: ['**/tiles/**'], }, } }