-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
30 lines (30 loc) · 862 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
28
29
30
{
"compilerOptions": {
"baseUrl": "src",
"outDir": "dist",
"module": "ES6",
"target": "ES5",
"lib": ["ES2015", "DOM", "ES2016", "ES2017"],
// "sourceMap": true, //not work in webpack (webpack has higher priority)
"moduleResolution": "node",
"declaration": true,
"declarationDir": "dist/types",
// "emitDeclarationOnly": true,
"jsx": "react",
"allowSyntheticDefaultImports": true,
"strict": true,
"allowJs": false,
"forceConsistentCasingInFileNames": true,
// "isolatedModules": true,
"removeComments": true
// "outFile": "dist/declarations/index.d.ts"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "build", "src/utils", "src/__test__", "src/stories"],
"ts-node": {
"compilerOptions": {
"module": "CommonJS",
"resolveJsonModule": true
}
}
}