-
Notifications
You must be signed in to change notification settings - Fork 39
/
tsconfig.prod.json
79 lines (70 loc) · 2.23 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// This file supports comments.
// Documentation: https://www.typescriptlang.org/tsconfig
{
"compilerOptions": {
"baseUrl": "base",
"outDir": "./dist/tsc",
// Library versions
"moduleResolution": "node",
"module": "commonjs",
"target": "ES5",
// Types
"lib": [
"DOM",
"ESNext",
"ES2021.String"
],
"typeRoots": [
"types/p2.d.ts",
"types/particlestorm.d.ts",
"types/phaser.d.ts",
"types/pixi.d.ts"
],
// Misc
"allowJs": true,
"checkJs": true,
"experimentalDecorators": true,
"preserveSymlinks": true,
"resolveJsonModule": true,
// Compilation options
"downlevelIteration": true,
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"importHelpers": true,
"removeComments": true,
// Maps
"sourceMap": false,
// "mapRoot": "debug/maps",
// "sourceRoot": "debug/src",
// Linting (enable anything that causes a compilation/typing error; leave everything else to a proper linting tool.)
"allowUnreachableCode": true, // Isn't a compilation or typing error; should be handled by a dedicated linter.
"alwaysStrict": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": false, //TODO: Make `true` (see issue #401)
"noImplicitThis": true,
"noImplicitReturns": true,
"strict": true,
"strictBindCallApply": true,
"strictFunctionTypes": false, //TODO: Make `true` (see issue #401)
"strictNullChecks": false, //TODO: Make `true` (see issue #401)
"strictPropertyInitialization": false, //TODO: Make `true` (see issue #401)
"useUnknownInCatchVariables": true,
},
"include": [
"./**/*.ts",
"./**/*.js"
],
"exclude": [
"dist/**",
"node_modules/**",
"./assets/filters/**",
"./assets/plugins/**",
"./code_docs/**",
"./electron/**",
"./scripts/**",
"./static/**",
"webpack.config.common.js",
"webpack.config.dev.js",
"webpack.config.prod.js"
]
}