Skip to content

Commit

Permalink
feat: Switch to JSX runtime transform in preact-ts template (#10061)
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Sep 10, 2022
1 parent 9e65a41 commit bf69063
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/create-vite/template-preact-ts/src/preact.d.ts

This file was deleted.

5 changes: 2 additions & 3 deletions packages/create-vite/template-preact-ts/tsconfig.json
Expand Up @@ -14,9 +14,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment"
"jsx": "react-jsx",
"jsxImportSource": "preact"
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
Expand Down

0 comments on commit bf69063

Please sign in to comment.