Read more about the issue here: https://hackmd.io/MlqFp-yrSx-0mw4rD7dnQQ
bazel build packages/material/snack-bar
./bazel-bin/packages/material/snack-bar.js
@angular/cdk/overlay/overlay
. This isyarn ngc -p test-vanilla-ngc/a/tsconfig.json
yarn ngc -p test-vanilla-ngc/b/tsconfig.json
.Both of these compilations work. b
properly builds
with metadata of a
.
Now change in test-vanilla-ngc/b/tsconfig.json
the
generateCodeForLibraries
option and notice how
the metadata of a
is discarded if you rebuild
b
.
yarn ngc -p test-vanilla-ngc/b/tsconfig.json
.