-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
25 lines (25 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
{
"_comments": {
"noEmit: true": "We don't set outDir here because webpack handles actually emitting the files. This means we need to set noEmit to true here so tooling doesn't whine about .js files overwriting themselves and override that back to false in the ts-loader config for webpack",
"module: esnext": "Webpack will convert ES modules to the required format.",
"target: es5": "Setting a very low target for IE11 compatibility.",
"allowJs: true": "Make it possible to gradually adopt TypeScript, or not use it at all.",
"strict: true": "Turn on stricter type checking."
},
"compilerOptions": {
"noEmit": true,
"module": "esnext",
"esModuleInterop": true,
"target": "es5",
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"sourceMap": true,
"jsx": "react",
"moduleResolution": "node"
},
"include": ["cms/static_src"],
"exclude": ["node_modules", "cms/static_compiled"]
}