Initial checklist
Affected package
react-markdown@8.0.7
Steps to reproduce
Use react-markdown on latest NextJs version with React 19.
Then run next build --turbopack
Actual behavior
./node_modules/.pnpm/react-markdown@8.0.7_@types+react@19.1.8_react@19.1.0/node_modules/react-markdown/lib/complex-types.ts:25:25
Type error: Namespace 'global.JSX' has no exported member 'IntrinsicElements'.
Expected behavior
Build success without errors.
Runtime
No response
Package manager
No response
Operating system
No response
Build and bundle tools
No response
Initial checklist
Affected package
react-markdown@8.0.7
Steps to reproduce
Use react-markdown on latest NextJs version with React 19.
Then run
next build --turbopackActual behavior
./node_modules/.pnpm/react-markdown@8.0.7_@types+react@19.1.8_react@19.1.0/node_modules/react-markdown/lib/complex-types.ts:25:25
Type error: Namespace 'global.JSX' has no exported member 'IntrinsicElements'.
Expected behavior
Build success without errors.
Runtime
No response
Package manager
No response
Operating system
No response
Build and bundle tools
No response