Skip to content

Commit

Permalink
feat(lib): distribute lib as ViewEngine (not IVY, official recommenda…
Browse files Browse the repository at this point in the history
…tions)
  • Loading branch information
tomastrajan committed Feb 8, 2020
1 parent 41d5604 commit c3bef51
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"options": {
"tsConfig": "projects/elements/tsconfig.lib.json",
"project": "projects/elements/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/elements/tsconfig.lib.prod.json"
}
}
},
"test": {
Expand Down Expand Up @@ -52,7 +57,7 @@
"main": "projects/elements-demo/src/main.ts",
"polyfills": "projects/elements-demo/src/polyfills.ts",
"tsConfig": "projects/elements-demo/tsconfig.app.json",
"aot": false,
"aot": true,
"assets": [
"projects/elements-demo/src/favicon.ico",
"projects/elements-demo/src/assets",
Expand Down
6 changes: 6 additions & 0 deletions projects/elements/tsconfig.lib.prod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./tsconfig.lib.json",
"angularCompilerOptions": {
"enableIvy": false
}
}

0 comments on commit c3bef51

Please sign in to comment.