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:
parent
9e9491272f
commit
d192a7b47a
|
@ -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 => {
|
||||||
|
|
Loading…
Reference in New Issue