Skip to content

Commit

Permalink
revert: fix(docs-infra): consider all formats when compiling docs exa…
Browse files Browse the repository at this point in the history
…mples with `ngcc` (angular#33216)

This reverts commit ccccb80.

PR Close angular#33216
  • Loading branch information
matsko committed Oct 17, 2019
1 parent 9e94912 commit d192a7b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aio/tools/examples/example-boilerplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit d192a7b

Please sign in to comment.