-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
31 lines (31 loc) · 1.18 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
{
"compilerOptions": {
"rootDir": "./src",
"baseUrl": "./src",
"outDir": "./.dest",
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
// Setting the isolatedModules flag tells TypeScript to warn you if you write certain code that can’t be correctly
// interpreted by a single-file transpilation process.
// It does not change the behavior of your code, or otherwise change the behavior of TypeScript’s checking and
// emitting process.
"isolatedModules": true,
"allowJs": true,
// if it was "react" then React needed to be in the scope
// @see [New JSX transformation](https://github.com/microsoft/TypeScript/pull/39199)
"jsx": "react-jsx",
// Just needed for library (package) production
// "declaration": true,
// Needed in development otherwise babel's sourcemaps will be used which will refer to javascript files which are
// transpiled from typescript using babel
"sourceMap": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"esModuleInterop": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true
},
"include": ["src"]
}