-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtsconfig.prod.json
More file actions
32 lines (32 loc) · 974 Bytes
/
tsconfig.prod.json
File metadata and controls
32 lines (32 loc) · 974 Bytes
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
{
"compilerOptions": {
"paths": {
"redux-sanitizers": ["redux_modules/sanitizers.prod.ts"]
},
"types": [
"jest",
"node"
],
"preserveConstEnums": true,
"strictNullChecks": true, // enable strict null checks as a best practice
"outDir": "./dist/", // path to output directory
"sourceMap": true, // allow sourcemap support
"esModuleInterop": true,
"module": "es6", // specify module code generation
"jsx": "react", // use typescript to transpile jsx to js
"target": "es5", // specify ECMAScript target version
"allowJs": true, // allow a partial TypeScript and JavaScript codebase
"moduleResolution": "node",
"baseUrl": "./src", // allow project-relative imports
"lib": [
"webworker",
"dom",
"es5",
"scripthost"
],
"noErrorTruncation": true // helps debugging
},
"include": [
"./src/"
]
}