0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

fix: add support for react-compiler-runtime (#12735)

This commit is contained in:
Cody Olsen 2024-12-16 20:19:38 +01:00 committed by GitHub
parent 039d022b1b
commit 0ac0f25c18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,6 +60,7 @@ function getViteConfiguration(
'react/jsx-runtime', 'react/jsx-runtime',
'react/jsx-dev-runtime', 'react/jsx-dev-runtime',
'react-dom', 'react-dom',
'react-compiler-runtime'
], ],
exclude: [reactConfig.server], exclude: [reactConfig.server],
}, },