mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
This transpiles the JavaScript and (future) TypeScript in `static/shared/js` to `static/shared/lib`. It also compiles away ES2020 syntax that’s not supported by the oldest JS engines targeted by zulip-mobile. Signed-off-by: Anders Kaseorg <anders@zulip.com>
33 lines
757 B
JSON
33 lines
757 B
JSON
{
|
|
"compilerOptions": {
|
|
/* Language and Environment */
|
|
"target": "es2019",
|
|
|
|
/* Modules */
|
|
"rootDir": "js",
|
|
"moduleResolution": "node",
|
|
|
|
/* JavaScript Support */
|
|
"allowJs": true,
|
|
|
|
/* Emit */
|
|
"declaration": true,
|
|
"sourceMap": true,
|
|
"outDir": "lib",
|
|
|
|
/* Interop Constraints */
|
|
"isolatedModules": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
/* Type Checking */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
},
|
|
"include": ["js"],
|
|
}
|