angular-cn/packages/compiler-cli/ngcc/test/host
Pete Bacon Darwin e9fb5fdb89 fix(ngcc): handle UMD re-exports (#34254)
In TS we can re-export imports using statements of the form:

```
export * from 'some-import';
```

This is downleveled in UMD to:

```
function factory(exports, someImport) {
  function __export(m) {
    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
  }
  __export(someImport);
}
```

This commit adds support for this.

PR Close #34254
2019-12-18 11:25:01 -08:00
..
commonjs_host_import_helper_spec.ts refactor(ngcc): use bundle src to create reflection hosts (#34254) 2019-12-18 11:25:01 -08:00
commonjs_host_spec.ts fix(ngcc): handle CommonJS re-exports by reference (#34254) 2019-12-18 11:25:01 -08:00
esm5_host_import_helper_spec.ts refactor(ngcc): use bundle src to create reflection hosts (#34254) 2019-12-18 11:25:01 -08:00
esm5_host_spec.ts refactor(ngcc): use bundle src to create reflection hosts (#34254) 2019-12-18 11:25:01 -08:00
esm2015_host_import_helper_spec.ts refactor(ngcc): use bundle src to create reflection hosts (#34254) 2019-12-18 11:25:01 -08:00
esm2015_host_spec.ts refactor(ngcc): use bundle src to create reflection hosts (#34254) 2019-12-18 11:25:01 -08:00
umd_host_import_helper_spec.ts refactor(ngcc): use bundle src to create reflection hosts (#34254) 2019-12-18 11:25:01 -08:00
umd_host_spec.ts fix(ngcc): handle UMD re-exports (#34254) 2019-12-18 11:25:01 -08:00
util.ts fix(ngcc): properly detect origin of constructor param types (#33901) 2019-11-19 11:38:33 -08:00