Skip to content

Commit

Permalink
Fix JSX import source
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmade committed Aug 31, 2024
1 parent 9e58755 commit a925d1c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/smooth-brooms-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@watching/clips-react': patch
---

Fix JSX import source
4 changes: 3 additions & 1 deletion packages/clips-react/configuration/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {quiltPackage} from '@quilted/rollup/package';

export default quiltPackage();
export default quiltPackage({
react: 'react',
});
3 changes: 2 additions & 1 deletion packages/clips-react/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "@quilted/typescript/tsconfig.package.json",
"compilerOptions": {
"lib": ["WebWorker", "DOM", "DOM.Iterable", "esnext"]
"lib": ["WebWorker", "DOM", "DOM.Iterable", "esnext"],
"jsxImportSource": "react"
},
"references": [{"path": "../clips"}]
}

0 comments on commit a925d1c

Please sign in to comment.