Charles Lyding 4b4822f2c5 fix(@angular-devkit/build-optimizer): increase safety of code removal
This change lowers the potential for code to be errantly removed by the prefix functions and scrub file transformers.  Only known safe modules are used with the prefix functions transformer as it can easily remove required module level side effects (as opposed to global level side effects) such as `__decorate` calls.
The scrub file transformer will now keep metadata if non-Angular decorators are present. This allows libraries that use that information to continue to function.

Closes #14033
Closes #18621
2020-10-12 11:04:14 -04:00
..
2020-10-12 11:03:44 -04:00