mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
To make our test output i.e. devmode output more aligned with what we produce in the NPM packages, or to be more aligned with what Angular applications will usually consume, the devmode output is switched from ES5 to ES2015. Additionally various tsconfigs (outside of Bazel) have been updated to match with the other parts of the build. The rules are: ES2015 for test configurations, ES2020 for actual code that will end up being shipped (this includes the IDE-only tsconfigs). PR Close #44505
35 lines
913 B
JSON
35 lines
913 B
JSON
{
|
|
"angularCompilerOptions": {
|
|
"alwaysCompileGeneratedCode": true,
|
|
"annotationsAs": "static fields",
|
|
"debug": true,
|
|
"enableSummariesForJit": true,
|
|
"i18nFormat": "xlf",
|
|
"enableIvy": false
|
|
},
|
|
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"declaration": true,
|
|
"experimentalDecorators": true,
|
|
"lib": ["es2015", "dom"],
|
|
"moduleResolution": "node",
|
|
"noImplicitAny": true,
|
|
"noUnusedLocals": true,
|
|
"rootDir": "",
|
|
"skipLibCheck": true,
|
|
"sourceMap": true,
|
|
"strictNullChecks": true,
|
|
// compatible with the option. Disabled until the integration test support the strict flag.
|
|
// TODO(devversion): this has been enabled without the integration test code being
|
|
"strictPropertyInitialization": false,
|
|
"target": "es2015",
|
|
"typeRoots": ["node_modules/@types"]
|
|
},
|
|
|
|
"files": [
|
|
"src/module",
|
|
"src/bootstrap",
|
|
"test/all_spec",
|
|
]
|
|
}
|