-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
34 lines (34 loc) · 1.01 KB
/
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
28
29
30
31
32
33
34
{
"compilerOptions": {
"baseUrl": "./", // enables absolute path imports
"outDir": "build/dist", // target for compiled files
"module": "es2015", // "es2015" for tree-shaking
"target": "es2015", // "es2015" for ES6+ engines
"lib": ["ES2015", "dom"],
"sourceMap": true, // include js files
"allowJs": true, // include js files
"jsx": "react", // process JSX
"moduleResolution": "node",
"rootDir": "src",
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true,
"paths": { // define absolute path mappings
"@app/*": ["src/*"] // will enable -> import { ... } from '@app/components'. !!! if you change this, change alias in webpack.config also
}
},
"exclude": [
"node_modules",
"build",
"scripts",
"acceptance-tests",
"webpack",
"jest",
"src/setupTests.ts",
"config"
]
}