-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.base.esbuild.json
49 lines (48 loc) · 1.43 KB
/
tsconfig.base.esbuild.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
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
// #region ESBuild Environment
// - Our backend package build scripts use esbuild.
// - We use a version of esbuild compatible with what vite depends on.
"lib": [
"ES2023"
],
"module": "ESNext",
"target": "ES2022",
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "Bundler",
// #endregion
//
// #region Compile a "type": "module" package.json (ESM):
"esModuleInterop": false,
"resolveJsonModule": false,
"isolatedModules": true,
// #endregion
//
// #region Compile package.json (CommonJS):
// "esModuleInterop": true,
// "importHelpers": true,
// #endregion
//
// Miscellaneous compilerOptions:
"allowJs": true,
"allowSyntheticDefaultImports": true,
"declaration": false,
"newLine": "lf",
// "noEmitOnError": true,
// "noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
// "noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": false,
// "noUnusedParameters": true,
// "noImplicitAny": true,
// "resolveJsonModule": true,
"skipDefaultLibCheck": true,
"sourceMap": true,
"noErrorTruncation": true,
// "stripInternal": true,
}
}