Skip to content

Commit

Permalink
fix(core): don't ship an Ivy compiled library (#5915)
Browse files Browse the repository at this point in the history
Shipping as Ivy compiled is not recommended by Angular it it breaks
every library that has a dependency on ngx-bootstrap and that does
not ship as Ivy  compiled.

Enabling "fullTemplateTypeCheck" also works around an Angular compiler
problem regarding the `forRoot()` not working..

See #5862
  • Loading branch information
dr-itz authored Aug 27, 2020
1 parent 0b6fd99 commit 277e86d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/ng-packagr/tsconfig.ngc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"angularCompilerOptions": {
"enableIvy": false,
"disableExpressionLowering": true,
"annotateForClosureCompiler": true,
"skipTemplateCodegen": true,
"strictMetadataEmit": true,
"fullTemplateTypeCheck": false,
"fullTemplateTypeCheck": true,
"enableResourceInlining": true
},
"buildOnSave": false,
Expand Down

0 comments on commit 277e86d

Please sign in to comment.