Fix OpenAPI JSX compilation (#3901)

This commit is contained in:
Greg Bergé
2026-01-13 16:56:51 +01:00
committed by GitHub
parent 71c2e7f8b4
commit bf63045319
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@gitbook/react-openapi": patch
---
Compile JSX
+1 -1
View File
@@ -42,7 +42,7 @@
"react-dom": "catalog:"
},
"peerDependencies": {
"react": "*",
"react": ">=17",
"react-dom": "*"
},
"scripts": {
+1 -1
View File
@@ -23,7 +23,7 @@
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "react-jsx",
"types": [
"bun-types" // add Bun global
],