Skip to content

Commit 1b03cc8

Browse files
committed
fix: set jsx to react-jsx to fix import error
See egoist/tsup#792
1 parent b723d08 commit 1b03cc8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/five-weeks-talk.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@labdigital/graphql-fetcher": patch
3+
---
4+
5+
Resolve import erorr when using library

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"esModuleInterop": true,
1010
"experimentalDecorators": true,
1111
"isolatedModules": true,
12-
"jsx": "preserve",
12+
"jsx": "react-jsx",
1313
"lib": ["DOM", "ESNext", "DOM.Iterable"],
1414
"module": "ES2022",
1515
"moduleDetection": "force",

0 commit comments

Comments
 (0)