mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-12 05:48:57 +00:00
Fix OpenAPI JSX compilation (#3901)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@gitbook/react-openapi": patch
|
||||
---
|
||||
|
||||
Compile JSX
|
||||
@@ -42,7 +42,7 @@
|
||||
"react-dom": "catalog:"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "*",
|
||||
"react": ">=17",
|
||||
"react-dom": "*"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"moduleResolution": "Bundler",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "preserve",
|
||||
"jsx": "react-jsx",
|
||||
"types": [
|
||||
"bun-types" // add Bun global
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user