angular/packages/compiler-cli/ngcc/src/host
George Kalpakas 17d5e2bc99 refactor(ngcc): share code between CommonJsReflectionHost and UmdReflectionHost (#34512)
While different, CommonJS and UMD have a lot in common regarding the
their exports are constructed. Therefore, there was some code
duplication between `CommonJsReflectionHost` and `UmdReflectionHost`.

This commit extracts some of the common bits into a separate file as
helpers to allow reusing the code in both `ReflectionHost`s.

PR Close #34512
2020-01-08 15:00:49 -08:00
..
commonjs_host.ts refactor(ngcc): share code between CommonJsReflectionHost and UmdReflectionHost (#34512) 2020-01-08 15:00:49 -08:00
commonjs_umd_utils.ts refactor(ngcc): share code between CommonJsReflectionHost and UmdReflectionHost (#34512) 2020-01-08 15:00:49 -08:00
esm5_host.ts fix(ngcc): support minified ES5 scenarios (#33777) 2019-11-13 11:11:48 -08:00
esm2015_host.ts fix(ngcc): correctly match aliased classes between src and dts files (#34254) 2019-12-18 11:25:01 -08:00
ngcc_host.ts fix(ngcc): ensure that adjacent statements go after helper calls (#33689) 2019-11-11 13:01:15 -08:00
umd_host.ts refactor(ngcc): share code between CommonJsReflectionHost and UmdReflectionHost (#34512) 2020-01-08 15:00:49 -08:00