Skip to content

Commit

Permalink
fix(babel-config): react compiler target should be a string (#11935)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Feb 2, 2025
1 parent 6a83938 commit a750bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-config/src/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const getWebSideBabelPlugins = (

const plugins = [
// It is important that this plugin run first, as noted here: https://react.dev/learn/react-compiler
useReactCompiler && ['babel-plugin-react-compiler', { target: 19 }],
useReactCompiler && ['babel-plugin-react-compiler', { target: '19' }],
// === Import path handling
[
'babel-plugin-module-resolver',
Expand Down

0 comments on commit a750bdc

Please sign in to comment.