mirror of
https://github.com/dataforcanada/d4c-datapkg-statistical.git
synced 2026-06-14 14:40:55 +02:00
Add code that was used for https://www.diegoripley.ca/files/census_of_population_vector_tiles_subset_august_12_2025/
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
export default defineConfig({
|
||||
base: './',
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
assetsDir: 'assets',
|
||||
sourcemap: true,
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks: {
|
||||
'maplibre': ['maplibre-gl'],
|
||||
'statistics': ['simple-statistics']
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
server: {
|
||||
port: 3000,
|
||||
host: "0.0.0.0",
|
||||
open: true
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user