add react compiler

This commit is contained in:
jeffvli
2026-04-05 18:38:06 -07:00
parent 1b2a6dfc1f
commit 56cd50e0ed
8 changed files with 38 additions and 21 deletions
+9
View File
@@ -0,0 +1,9 @@
import react from '@vitejs/plugin-react';
export function createReactPlugin() {
return react({
babel: {
plugins: ['babel-plugin-react-compiler'],
},
});
}