-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
vite.config.js
37 lines (36 loc) · 916 Bytes
/
vite.config.js
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
32
33
34
35
36
37
import wasm from "vite-plugin-wasm";
import copy from 'rollup-plugin-copy';
export default {
plugins: [
wasm()
],
base: './',
build: {
sourcemap: true,
target: 'esnext',
emptyOutDir: false,
rollupOptions: {
input: {
index: 'index.html',
'reprojection-image': 'demo-pages/reprojection-image.html',
'reprojection': 'demo-pages/reprojection.html',
'sphere-mollweide': 'demo-pages/sphere-mollweide.html',
'wms-image-custom-proj': 'demo-pages/wms-image-custom-proj.html',
'vector-projections': 'demo-pages/vector-projections.html',
'bundeslander-3044': 'demo-pages/bundeslander-3044.html',
},
plugins: [
copy({
targets: [
{ src: 'fgb/axis_orientation_neu_3044.fgb', dest: './dist/fgb' },
]
})
]
},
},
server: {
fs: {
allow: ['/..']
}
}
}