2023-05-23 22:55:36 +00:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
|
|
|
"pretty": true,
|
|
|
|
"target": "esnext",
|
|
|
|
"module": "esnext",
|
|
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
"preserveConstEnums": true,
|
|
|
|
"sourceMap": true,
|
|
|
|
"moduleResolution": "node",
|
|
|
|
"lib": ["es2017", "dom"],
|
|
|
|
"types": ["inferno"],
|
|
|
|
"jsx": "preserve",
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"baseUrl": "./src",
|
|
|
|
"noEmit": true,
|
|
|
|
"skipLibCheck": true,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"noImplicitReturns": true,
|
2024-04-11 17:18:07 +00:00
|
|
|
"experimentalDecorators": true, // false for non-legacy decorators
|
2023-05-23 22:55:36 +00:00
|
|
|
"strictNullChecks": true,
|
2023-06-20 14:17:16 +00:00
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
"paths": {
|
2023-06-20 21:40:14 +00:00
|
|
|
"@/*": ["/*"],
|
2023-06-21 11:52:32 +00:00
|
|
|
"@utils/*": ["shared/utils/*"]
|
2023-06-20 14:17:16 +00:00
|
|
|
}
|
2023-05-23 22:55:36 +00:00
|
|
|
},
|
|
|
|
"include": [
|
Lazy loading less common languages for syntax highlighting (#2388)
* Use fewer syntax highlighter languages.
Reduces client.js size by about 250kB (800kB uncompressed)
Common languages:
bash, c, cpp, csharp, css, diff, go, graphql, ini, java, javascript,
json, kotlin, less, lua, makefile, markdown, objectivec, perl,
php-template, php, plaintext, python-repl, python, r, ruby, rust, scss,
shell, sql, swift, typescript, vbnet, wasm, xml, yaml
Additionally enabled languages:
dockerfile, pgsql
* Configurable syntax highlighter languages
Allows to individually enable languages.
* Lazy load syntax highlighter languages
Allows to enable additional languages that will not be autodetected.
* Include highlight.js in dynamic import check
2024-03-14 12:31:07 +00:00
|
|
|
"src/shared/build-config.d.ts",
|
2024-08-25 17:35:15 +00:00
|
|
|
"src/shared/express-extensions.d.ts",
|
2023-05-23 22:55:36 +00:00
|
|
|
"src/**/*.ts",
|
|
|
|
"src/**/*.tsx",
|
|
|
|
"node_modules/inferno/dist/index.d.ts"
|
|
|
|
]
|
|
|
|
}
|