add react compiler

This commit is contained in:
2025-02-13 15:37:54 -05:00
parent 9970c58e2b
commit 28d71a6ed1
3 changed files with 205 additions and 13 deletions

View File

@ -5,5 +5,11 @@ import react from '@astrojs/react';
// https://astro.build/config
export default defineConfig({
integrations: [react()]
integrations: [react({
babel: {
plugins: [
["babel-plugin-react-compiler"]
]
}
})]
});