ProjectOS / apps /dashboard /vite.config.ts
AnthropicallyHuggingFaces's picture
Sync full ProjectOS monorepo from GitHub 7f633f5
a8f4b72 verified
Raw History Blame Contribute Delete
409 Bytes
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { fileURLToPath } from 'node:url';
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
server: {
host: '127.0.0.1',
port: 5173,
strictPort: true,
proxy: {
'/api': 'http://127.0.0.1:4173'
}
}
});