monorepo-microservice-rbac/apps/aorta/tsconfig.json

34 lines
705 B
JSON
Raw Permalink Normal View History

2023-08-27 14:37:59 +08:00
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": [
"src/*"
],
"@@/*": [
"core/*"
]
},
"target": "es2016",
"esModuleInterop": true,
"module": "commonjs",
"experimentalDecorators": true,
"resolveJsonModule": true, // 引入json
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"typeRoots": [
"./typings/*.d.ts",
"node_modules/@types"
],
"jsx": "react-jsx" // 这里改成react-jsx就不需要在tsx文件中手动引入React了
},
"include": [
"./src",
"./core",
"./scripts",
"./typings/*.d.ts",
"interfaces",
"index.tsx"
]
}