Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit fab7a79

Browse files
authored
Merge pull request #5 from chakra-ui/fix/jsx-build
fix: use compiler option react-jsx
2 parents 6cf66da + 9367d89 commit fab7a79

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.changeset/popular-mugs-call.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@polymorphic-factory/react': patch
3+
---
4+
5+
Fixed an issue where the bundle was shipped with preserved jsx. It is now compiled with `react-jsx`.

packages/react/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
4-
"jsx": "preserve",
5-
"jsxImportSource": "react"
4+
"jsx": "react-jsx"
65
},
76
"include": ["src", "test"]
87
}

0 commit comments

Comments
 (0)