-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathtsconfig.json
27 lines (27 loc) · 893 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
// jsconfig.json === tsconfig.json with allowJs: true
"compilerOptions": {
//intellisense config for VSCode
"baseUrl": "./",
"paths": {
//none-js-ts files is not supported by intellisense. Use 'path-intellisense.mappings' in .vscode/settings.json instead
//this is should be sync with aliases in webpack
"@/*": ["src/*"],
"images/*": ["src/assets/images/*"],
"fonts/*": ["src/assets/fonts/*"]
},
"jsx": "react-jsx",
"allowJs": true,
"outDir": "",
"noEmit": true, // exclude errors in console because it should be wrapped by webpack
"esModuleInterop": true,
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "node",
"strict": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": true
},
"exclude": ["node_modules", "dist", "build", ".vscode"]
}