revert: fix(docs-infra): consider all formats when compiling docs examples with `ngcc` (#33216)

This reverts commit ccccb80fbecbe99cd913a494892f172962766f85.

PR Close #33216
This commit is contained in:
Matias Niemelä 2019-10-16 23:27:37 -07:00
parent 9e9491272f
commit d192a7b47a
1 changed files with 3 additions and 1 deletions

View File

@ -80,7 +80,9 @@ class ExampleBoilerPlate {
} }
if (ivy) { 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 => { exampleFolders.forEach(exampleFolder => {