forked from CIT/Vmeda.Online
Target in app tsconfig is set to es2022 by the Angular CLI, so we must set it as well to be consistent in the rest of the tooling. Angular compilation later uses browserslist for further transpilations. Target in unit tests is kept at es2016 because of a known bug in Angular: https://github.com/angular/angular/issues/31730
58 lines
1.6 KiB
JSON
58 lines
1.6 KiB
JSON
{
|
|
"compileOnSave": false,
|
|
"compilerOptions": {
|
|
"baseUrl": "src",
|
|
"outDir": "./dist/out-tsc",
|
|
"sourceMap": true,
|
|
"declaration": false,
|
|
"skipLibCheck": true,
|
|
"downlevelIteration": true,
|
|
"experimentalDecorators": true,
|
|
"strictNullChecks": true,
|
|
"strictPropertyInitialization": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"useDefineForClassFields": false,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"importHelpers": true,
|
|
"target": "es2022",
|
|
"resolveJsonModule": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"lib": [
|
|
"es2018",
|
|
"dom"
|
|
],
|
|
"types": [
|
|
"@moodlehq/cordova-plugin-file-transfer",
|
|
"@moodlehq/cordova-plugin-inappbrowser",
|
|
"cordova-plugin-moodleapp",
|
|
"cordova",
|
|
"dom-mediacapture-record",
|
|
"faker",
|
|
"jest",
|
|
"node",
|
|
"resize-observer-browser",
|
|
"webpack-env"
|
|
],
|
|
"paths": {
|
|
"@addons/*": ["./addons/*"],
|
|
"@classes/*": ["./core/classes/*"],
|
|
"@components/*": ["./core/components/*"],
|
|
"@directives/*": ["./core/directives/*"],
|
|
"@features/*": ["./core/features/*"],
|
|
"@guards/*": ["./core/guards/*"],
|
|
"@pipes/*": ["./core/pipes/*"],
|
|
"@services/*": ["./core/services/*"],
|
|
"@singletons": ["./core/singletons/index"],
|
|
"@singletons/*": ["./core/singletons/*"],
|
|
"@/*": ["./*"]
|
|
}
|
|
},
|
|
"angularCompilerOptions": {
|
|
"fullTemplateTypeCheck": true,
|
|
"enableI18nLegacyMessageIdFormat": false,
|
|
"strictInjectionParameters": true,
|
|
"strictInputAccessModifiers": true
|
|
}
|
|
}
|