Skip to content

Commit

Permalink
fix: support react compiler runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan authored Dec 17, 2024
1 parent c6951e5 commit 07c9e41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/hydrogen/src/vite/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ export function hydrogen(pluginOptions: HydrogenPluginOptions = {}): Plugin[] {
'react',
'react/jsx-runtime',
'react/jsx-dev-runtime',
'react/compiler-runtime', // react 19
'react-compiler-runtime', // react <= 18
'react-dom',
'react-dom/server',
'@remix-run/server-runtime',
Expand Down

0 comments on commit 07c9e41

Please sign in to comment.