forked from omedym/etk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.bazel.json
42 lines (42 loc) · 1.39 KB
/
tsconfig.bazel.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
{
// Bazel Specific TypeScript Config
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"composite": false,
"declaration": true,
"declarationMap": true,
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
// If enabled this makes tslib a runtime dependency.
// See https://zenzes.me/today-i-learned-tslib-is-not-a-devdependency/#:~:text=There%20are%20some%20dependencies%20that,play%20a%20role%20at%20runtime.
"importHelpers": true,
"incremental": true,
"inlineSourceMap": true,
"lib": ["ESNext"],
"module": "CommonJS",
"moduleResolution": "Node",
"noEmitHelpers": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"resolveJsonModule": true,
"rootDir": ".",
"skipLibCheck": true,
// Set `sourceRoot` to "/" to strip the build path prefix from
// generated source code references. This will improve issue grouping in Sentry.
"sourceRoot": "/",
"strict": true,
"strictNullChecks": true,
"strictPropertyInitialization": false,
"target": "ESNext",
//"types": ["node"]
},
// If building without sandboxing, we need to prevent TypeScript from descending into
// Bazel's external folder which contains third-party Bazel dependencies.
"exclude": [
"external",
"dist"
]
}