From 2d973ca7a71409e68d567510fe764fa35d9bd799 Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Sat, 12 Sep 2020 08:22:54 -0700 Subject: [PATCH] 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 --- Open-ILS/src/eg2/angular.json | 1 + 1 file changed, 1 insertion(+) 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", -- 2.11.0