ngfactory files have a ɵNonEmptyModule constant included if there are no other exported factory symbols. Previously this extra export was added dynamically in a TS transformer. However, synthetically constructed exports don't get properly downleveled during JS emit, and this generated constant caused issues with downstream tests. Instead, this commit configures the shim to always have this export to begin with, and to filter it out if it's not required. Testing strategy: covered by existing ngtsc_spec tests which verify the presence of the ɵNonEmptyModule symbol. PR Close #27483
build(bazel): replace yarn_install(name = "npm") with @npm local_reporsitory() to speed up build (#27469)
build(bazel): replace yarn_install(name = "npm") with @npm local_reporsitory() to speed up build (#27469)
build(bazel): replace yarn_install(name = "npm") with @npm local_reporsitory() to speed up build (#27469)
Angular
Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
Description
Languages
TypeScript
68.6%
HTML
12.8%
JavaScript
8.4%
Pug
7%
Starlark
1.4%
Other
1.7%