uvify / vite.config.ts
aviol's picture
Initial commit for uvify UI
d51321a
raw
history blame contribute delete
350 Bytes
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
}
}
},
build: {
outDir: 'dist',
assetsDir: 'assets',
}
})