2026-04-01 13:37:37 -03:00
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [react(), tailwindcss()],
|
|
|
|
|
server: {
|
|
|
|
|
port: 8181,
|
|
|
|
|
proxy: {
|
|
|
|
|
'/api': {
|
2026-04-01 15:10:15 -03:00
|
|
|
target: 'http://localhost:5082',
|
2026-04-01 13:37:37 -03:00
|
|
|
changeOrigin: true,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2026-04-01 16:11:33 -03:00
|
|
|
test: {
|
|
|
|
|
environment: 'jsdom',
|
|
|
|
|
setupFiles: './src/test/setup.ts',
|
|
|
|
|
globals: true,
|
|
|
|
|
},
|
2026-04-01 13:37:37 -03:00
|
|
|
})
|