14 lines
349 B
TypeScript
14 lines
349 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(),
|
|
babel({ presets: [reactCompilerPreset()] }),
|
|
tailwindcss()
|
|
],
|
|
})
|