From: Jane Sandberg Date: Sat, 12 Sep 2020 15:22:54 +0000 (-0700) Subject: LP1895395: Use Angular AOT compiler for ng build X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2d973ca7a71409e68d567510fe764fa35d9bd799;p=evergreen%2Fpines.git LP1895395: Use Angular AOT compiler for ng build As of angular 9, the angular documentation recommends using the AOT compiler for ng build: https://angular.io/guide/ivy This would provide a bit more consistency for developers (since some errors only display in AOT, others only display in JIT, and we want to make sure that the AOT in particular is error-free so that builds don't break). Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/angular.json b/Open-ILS/src/eg2/angular.json index 42e7980628..650083a129 100644 --- a/Open-ILS/src/eg2/angular.json +++ b/Open-ILS/src/eg2/angular.json @@ -11,6 +11,7 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { + "aot": true, "baseHref": "/eg2/en-US", "deployUrl": "/eg2/en-US/", "outputPath": "../../web/eg2/en-US",