diff --git a/aio/tools/examples/example-boilerplate.js b/aio/tools/examples/example-boilerplate.js index 1248055aca..f1290ad2fb 100644 --- a/aio/tools/examples/example-boilerplate.js +++ b/aio/tools/examples/example-boilerplate.js @@ -80,9 +80,7 @@ class ExampleBoilerPlate { } if (ivy) { - // 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`); + shelljs.exec(`yarn --cwd ${SHARED_PATH} ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points`); } exampleFolders.forEach(exampleFolder => {