mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
We need to explicitly set the `enableIvy` option in a tsconfig file to tell StackBlitz not to use ViewEngine. This commit will generate an appropriate tsconfig.json file in the example data that is sent to StackBlitz, which matches the Ivy setting of the AIO project itself. PR Close #40930
31 lines
816 B
JSON
31 lines
816 B
JSON
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
{
|
|
"compileOnSave": false,
|
|
"compilerOptions": {
|
|
"baseUrl": "./",
|
|
"outDir": "./dist/out-tsc",
|
|
"forceConsistentCasingInFileNames": true,
|
|
// TODO(gkalpak): Fix the code and enable this.
|
|
// "strict": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"sourceMap": true,
|
|
"declaration": false,
|
|
"downlevelIteration": true,
|
|
"experimentalDecorators": true,
|
|
"moduleResolution": "node",
|
|
"importHelpers": true,
|
|
"target": "es2015",
|
|
"module": "es2020",
|
|
"lib": [
|
|
"es2018",
|
|
"dom"
|
|
]
|
|
},
|
|
"angularCompilerOptions": {
|
|
"enableIvy": false,
|
|
"strictInjectionParameters": true,
|
|
"strictInputAccessModifiers": true,
|
|
"strictTemplates": true
|
|
}
|
|
}
|