Skip to content

Commit 0265c7e

Browse files
committed
docs(tsconfig): 添加注释
1 parent 2905b16 commit 0265c7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"noPropertyAccessFromIndexSignature": true,
4040
"allowUnusedLabels": false,
4141
"allowUnreachableCode": false,
42+
// 为 react 时 jsx 文件要导入 react (不管有没有用到);为 react-jsx 时jsx文件不需要导入,但是会打包 jsx-runtime 依赖
4243
"jsx": "react-jsx",
4344
"paths": {
4445
"@pkg/*": ["./packages/*/src"],

0 commit comments

Comments
 (0)