mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
As mentioned in previous commits, as of v10 the release output does no longer contain ESM5 output due to an update to the APF. This means that the side-effect integration test needs to be updated as it currently expects/tests esm5 output. PR Close #36944 |
||
|---|---|---|
| .. | ||
| snapshots | ||
| .gitignore | ||
| package.json | ||
| README.md | ||
| side-effects.json | ||
| yarn.lock | ||
This test checks if the side effects for loading Angular packages have changed using https://github.com/filipesilva/check-side-effects.
Running yarn test will check all ES modules listed in side-effects.json.
Running yarn update will update any changed side effects.
To add a new ES module to this test, add a new entry in side-effects.json.
Usually the ESM and FESM should have the same output, but retained objects that were renamed during the flattening step will leave behind a different name.