penti/frontend/vite.config.ts

21 lines
363 B
TypeScript
Raw Normal View History

2026-01-31 23:30:51 +09:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
host: '0.0.0.0',
port: 3000,
watch: {
usePolling: true
}
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
}
}
})