We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2905b16 commit 0265c7eCopy full SHA for 0265c7e
tsconfig.json
@@ -39,6 +39,7 @@
39
"noPropertyAccessFromIndexSignature": true,
40
"allowUnusedLabels": false,
41
"allowUnreachableCode": false,
42
+ // 为 react 时 jsx 文件要导入 react (不管有没有用到);为 react-jsx 时jsx文件不需要导入,但是会打包 jsx-runtime 依赖
43
"jsx": "react-jsx",
44
"paths": {
45
"@pkg/*": ["./packages/*/src"],
0 commit comments