17 lines
308 B
TypeScript
17 lines
308 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
base: '/app/',
|
|
build: {
|
|
outDir: '../sistema-nuvem/public/app',
|
|
emptyOutDir: true,
|
|
},
|
|
server: {
|
|
proxy: {
|
|
'/api': 'http://localhost:4001',
|
|
},
|
|
},
|
|
})
|