16 lines
295 B
JavaScript
16 lines
295 B
JavaScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react-swc'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
server:{
|
|
proxy:{
|
|
'/server': {
|
|
target: 'http://localhost:3000',
|
|
secure: false,
|
|
},
|
|
},
|
|
},
|
|
|
|
plugins: [react()],
|
|
})
|