Files
wiki/vite.config.ts
T
2025-11-08 15:22:50 +09:00

20 lines
356 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [
react({
babel: {
plugins: [['babel-plugin-react-compiler']],
},
}),
],
server: {
host: true,
port: 3420,
open: true,
allowedHosts: ['wiki.dahyeon.us']
},
})