From 99408d0445e0e97d1889029a5eabd37a11548d07 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Sat, 17 Mar 2018 19:23:58 -0700 Subject: [PATCH] test: add workaround to cli-hello-world payload-size test (#22808) See https://github.com/angular/devkit/pull/524 PR Close #22808 --- integration/cli-hello-world/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integration/cli-hello-world/package.json b/integration/cli-hello-world/package.json index ebae8dea93..c627ca24c3 100644 --- a/integration/cli-hello-world/package.json +++ b/integration/cli-hello-world/package.json @@ -8,7 +8,9 @@ "build": "ng build --prod --build-optimizer", "test": "ng test --single-run", "lint": "ng lint", - "e2e": "ng e2e" + "e2e": "ng e2e", + "postinstall": "patch for https://github.com/angular/devkit/pull/524", + "postinstall": "sed -i.bak 's/]esm5/]f?esm5/' node_modules/@angular-devkit/build-optimizer/src/build-optimizer/build-ptimizer.js" }, "private": true, "dependencies": {