From 8c13daa5c47c9120b6ca631af69bdb856f842b86 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 ea984a495..bf71e044f 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": {