Files
ratebubble/frontend/vite.config.ts
2026-02-28 02:44:41 +03:00

22 lines
381 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
proxy: {
'/api': {
target: 'http://localhost:3000',
changeOrigin: true,
},
},
},
css: {
modules: {
localsConvention: 'camelCase',
},
},
})