15 lines
325 B
TypeScript
Executable File
15 lines
325 B
TypeScript
Executable File
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
build: { outDir: 'dist' },
|
|
server: {
|
|
proxy: {
|
|
'/api': 'http://localhost:3000',
|
|
'/uploads': 'http://localhost:3000',
|
|
'/webhooks': 'http://localhost:3000'
|
|
}
|
|
}
|
|
});
|