angular-cn/packages/core/test/bundling
JoostK c8c8648abf fix(ivy): prevent ngcc from referencing missing ɵsetClassMetadata (#27055)
When ngtsc compiles @angular/core, it rewrites core imports to the
r3_symbols.ts file that exposes all internal symbols under their
external name. When creating the FESM bundle, the r3_symbols.ts file
causes the external symbol names to be rewritten to their internal name.

Under ngcc compilations of FESM bundles, the indirection of
r3_symbols.ts is no longer in place such that the external names are
retained in the bundle. Previously, the external name `ɵdefineNgModule`
was explicitly declared internally to resolve this issue, but the
recently added `setClassMetadata` was not declared as such, causing
runtime errors.

Instead of relying on the r3_symbols.ts file to perform the rewrite of
the external modules to their internal variants, the translation is
moved into the `ImportManager` during the compilation itself. This
avoids the need for providing the external name manually.

PR Close #27055
2018-11-21 09:20:11 -08:00
..
animation_world fix(ivy): align discovery methods for consistency (#27117) 2018-11-20 11:44:14 -08:00
hello_world feat(ivy): support for i18n & ICU expressions (#27101) 2018-11-14 16:22:01 -08:00
hello_world_i18n test(ivy): fix or disable failing ivy tests (#26735) 2018-10-26 14:48:05 -04:00
hello_world_r2 fix(ivy): prevent ngcc from referencing missing ɵsetClassMetadata (#27055) 2018-11-21 09:20:11 -08:00
injection fix(ivy): providers should not be inherited (#27013) 2018-11-09 09:55:47 -08:00
todo fix(ivy): hack implementation of host styles (#27180) 2018-11-20 11:43:29 -08:00
todo_r2 fix(ivy): prevent ngcc from referencing missing ɵsetClassMetadata (#27055) 2018-11-21 09:20:11 -08:00
util test(ivy): fix or disable failing ivy tests (#26735) 2018-10-26 14:48:05 -04:00