YetAnotherToDoList/frontend/vite.config.js

18 lines
324 B
JavaScript
Raw Normal View History

2023-10-24 16:51:58 +02:00
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
server: {
port: 4243,
proxy: {
'^/(api|playground|version|auth)': 'http://localhost:4242/'
}
},
build: {
outDir: '../server/dist',
emptyOutDir: true
}
2023-10-24 16:51:58 +02:00
})