Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

vite.config.js

7 lines246 Bytes

1import { defineConfig } from 'vite'
2import react, { reactCompilerPreset } from '@vitejs/plugin-react'
3import babel from '@rolldown/plugin-babel'
4​
5export default defineConfig({
6 plugins: [react(), babel({ presets: [reactCompilerPreset()] })],
7})