-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.base.json
33 lines (27 loc) · 1.04 KB
/
tsconfig.base.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
{
// "include": ["src/**/*"], // override by inheritor
"exclude": ["node_modules"],
"compilerOptions": {
/* Basic Options */
"target": "ES5", // for legacy environment
"lib": ["ES5", "dom"], // `ES5` is the option for legacy environment
/* Module Options */
"module": "esnext", // モジュール周りは npm run build:* 側に任せる
"esModuleInterop": true, // CommonJS モジュールを `import _ from 'commonjs'` で import できるように
"moduleResolution": "node", // `node` にしないと `resolveJsonModule` が使えない
"forceConsistentCasingInFileNames": true, // 大文字小文字を区別しない環境 (win) でも unix と同じように区別する
/* Output Options */
"sourceMap": true,
"declaration": true,
"declarationMap": true,
/* Additional Features */
"jsx": "react",
/* Strict Type-Checking Options */
"strict": true,
/* Lint Options */
"noUnusedLocals": true,
"noUnusedParameters": true,
/* Debug Options */
"locale": "ja"
}
}