4d0e175a65
In #37221 we disabled tsickle passes from transforming the tsc output that is used to publish all Angular framework and components packages (@angular/*). This change however revealed a bug in the ngc that caused __decorate and __metadata calls to still be emitted in the JS code even though we don't depend on them. Additionally it was these calls that caused code in @angular/material packages to fail at runtime due to circular dependency in the emitted decorator code documeted as https://github.com/microsoft/TypeScript/issues/27519. This change partially rolls back #37221 by reenabling the decorator to static fields (static properties) downleveling. This is just a temporary workaround while we are also fixing root cause in `ngc` - tracked as FW-2199. Resolves FW-2198. Related to FW-2196 PR Close #37317 |
||
---|---|---|
.. | ||
snapshots | ||
.gitignore | ||
README.md | ||
package.json | ||
side-effects.json | ||
yarn.lock |
README.md
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.