feat: initialize taro react typescript miniapp
This commit is contained in:
29
tsconfig.json
Normal file
29
tsconfig.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2020",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Node",
|
||||
"strict": true,
|
||||
"jsx": "react-jsx",
|
||||
"esModuleInterop": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"resolveJsonModule": true,
|
||||
"noEmit": true,
|
||||
"skipLibCheck": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": [
|
||||
"src/*"
|
||||
]
|
||||
},
|
||||
"types": [
|
||||
"@tarojs/taro",
|
||||
"wechat-miniprogram"
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"src",
|
||||
"config",
|
||||
"types"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user