From a369f0aab00d567446863d78753b9b6f569accb1 Mon Sep 17 00:00:00 2001 From: cexbrayat Date: Fri, 1 Nov 2019 11:06:20 +0100 Subject: [PATCH] migrate workspace for @angular/core@9.0.0-beta NGCC postinstall migration. Adds an ngcc invocation to npm/yarn's postinstall script. Read more about this here: https://v9.angular.io/guide/migration-ngcc --- frontend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/package.json b/frontend/package.json index f7f6b09b2..56fd7ba6e 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -11,7 +11,7 @@ "codecov": "codecov", "lint": "ng lint > tslint-result.txt", "e2e": "ng e2e", - "postinstall": "echo 'Replacing moment.js by empty file since it is optional and not used'; echo '' > node_modules/moment/moment.js" + "postinstall": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points && echo 'Replacing moment.js by empty file since it is optional and not used'; echo '' > node_modules/moment/moment.js" }, "private": true, "dependencies": {