angular-cn/packages/compiler-cli/ngcc/test/integration
Paul Gschwendtner c98a4d6ddd feat(ngcc): support for new APF where `module` points to esm2015 output (#36944)
As of version 10, libraries following the APF will no longer contain
ESM5 output. Hence, tests in ngcc need to be updated as they currently
rely on the release output of `@angular/core`.

Additionally, we'd need to support in ngcc that the `module`
property of entry-points no longer necessarily refers to
`esm5` output, but instead can also target `esm2015`.

We currently achieve this by checking the path the `module`
property points to. We can do this because as per APF, the
folder name is known for the esm2015 output. Long-term for
more coverage, we want to sniff the format by looking for
known ES2015 constructs in the file `module` refers to.

PR Close #36944
2020-05-06 13:54:26 -07:00
..
ngcc_spec.ts feat(ngcc): support for new APF where `module` points to esm2015 output (#36944) 2020-05-06 13:54:26 -07:00
util.ts feat(ngcc): support for new APF where `module` points to esm2015 output (#36944) 2020-05-06 13:54:26 -07:00