add react compiler
This commit is contained in:
@ -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"]
|
||||
]
|
||||
}
|
||||
})]
|
||||
});
|
Reference in New Issue
Block a user