mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
In #43879, `UmdReflectionHost` was updated to deal with the new UMD format used by Rollup, where the parenthesis is around the wrapper function and not the wrapper function call. For reference, this caused failures in the `ngcc-validation` repo ([example 1][1], [example 2][2]). This commit updates `UmdRenderingFormatter` to also handle both UMD formats. In order to validate the change, this commit also updates the `UmdRenderingFormatter` tests to run against both UMD formats. [1]: https://circleci.com/gh/angular/ngcc-validation/65916 [2]: https://circleci.com/gh/angular/ngcc-validation/65758 PR Close #43931 |
||
|---|---|---|
| .. | ||
| commonjs_rendering_formatter_spec.ts | ||
| dts_renderer_spec.ts | ||
| esm5_rendering_formatter_spec.ts | ||
| esm_rendering_formatter_spec.ts | ||
| renderer_spec.ts | ||
| umd_rendering_formatter_spec.ts | ||