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:
parent
039d022b1b
commit
0ac0f25c18
1 changed files with 1 additions and 0 deletions
|
@ -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],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue