Skip to content

Commit 2c7a433

Browse files
committed
fix: configure jsx in template
1 parent e3c86c1 commit 2c7a433

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

templates/starter-vite-ts/tsconfig.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"target": "ES6",
1919
"noImplicitReturns": true,
2020
"noUnusedLocals": true,
21-
"noUnusedParameters": false
21+
"noUnusedParameters": false,
22+
"jsx": "react",
23+
"jsxFactory": "h",
24+
"jsxFragmentFactory": "Fragment"
2225
}
2326
}

0 commit comments

Comments
 (0)