20 lines
356 B
TypeScript
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']
|
|
},
|
|
})
|