AIMirror-Backend / vite.config.js
Zayeemk's picture
Upload 21 files
69aa668 verified
raw
history blame contribute delete
363 Bytes
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
}
}
},
build: {
outDir: 'dist',
sourcemap: true
}
})