Add react compiler

This commit is contained in:
Gregory Schier
2026-03-13 06:49:14 -07:00
parent b5928af1d7
commit aed7bd12ea
3 changed files with 17 additions and 1 deletions

View File

@@ -29,7 +29,11 @@ export default defineConfig(async () => {
autoCodeSplitting: true,
}),
svgr(),
react(),
react({
babel: {
plugins: ['babel-plugin-react-compiler'],
},
}),
topLevelAwait(),
viteStaticCopy({
targets: [