-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig-prod.json
22 lines (21 loc) · 1.06 KB
/
tsconfig-prod.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"compilerOptions": {
"outDir": "dist/", // path to output directory
"sourceMap": true, // allow sourcemap support
"declaration": true, /* Generates corresponding '.d.ts' file. */
"strictNullChecks": true, // enable strict null checks as a best practice
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"target":
"ES2015" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
"module":
"commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
"jsx": "react", // use typescript to transpile jsx to js
"allowJs": false // allow a partial TypeScript and JavaScript codebase
},
"include": [
"src/**/*"
],
"exclude": [
"**/*.test.ts"
]
}