17 lines
379 B
TypeScript
17 lines
379 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react, { reactCompilerPreset } from '@vitejs/plugin-react'
|
|
import babel from '@rolldown/plugin-babel'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
tailwindcss(),
|
|
babel({ presets: [reactCompilerPreset()] })
|
|
],
|
|
server: {
|
|
port:3000
|
|
}
|
|
})
|