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

vite.config.ts

16 lines313 Bytes

1import { defineConfig } from 'vite'
2import react from '@vitejs/plugin-react'
3​
4const ReactCompilerConfig = {}
5​
6export default defineConfig(() => {
7 return {
8 plugins: [
9 react({
10 babel: {
11 plugins: [['babel-plugin-react-compiler', ReactCompilerConfig]],
12 },
13 }),
14 ],
15 }
16})