From d192a7b47a265aee974fb29bde0a45ce1f1dc80c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matias=20Niemel=C3=A4?= Date: Wed, 16 Oct 2019 23:27:37 -0700 Subject: [PATCH] revert: fix(docs-infra): consider all formats when compiling docs examples with `ngcc` (#33216) This reverts commit ccccb80fbecbe99cd913a494892f172962766f85. PR Close #33216 --- aio/tools/examples/example-boilerplate.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aio/tools/examples/example-boilerplate.js b/aio/tools/examples/example-boilerplate.js index f1290ad2fb..1248055aca 100644 --- a/aio/tools/examples/example-boilerplate.js +++ b/aio/tools/examples/example-boilerplate.js @@ -80,7 +80,9 @@ class ExampleBoilerPlate { } if (ivy) { - shelljs.exec(`yarn --cwd ${SHARED_PATH} ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points`); + // We only need the "es2015" bundles as the CLI webpack build does not need + // any other formats for building and serving. + shelljs.exec(`yarn --cwd ${SHARED_PATH} ngcc --properties es2015`); } exampleFolders.forEach(exampleFolder => {