aboutsummaryrefslogtreecommitdiff
path: root/vite.config.js
blob: 817afcce2718040cb10cbd9c5e5e1056b38fd4eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

export default defineConfig({
	base: '/',
	plugins: [vue()],
	server: {
		proxy: {'/data': 'http://localhost:8000', '/tolData': 'http://localhost:8000', },
		watch: {
			ignored: ['**/backend', '**/public']
		},
	},
	build: {
		sourcemap: true,
	},
	//server: {open: true} //open browser when dev server starts
})