Closed aitboudad closed 6 years ago
We're looking at adding this sort of feature.
done by @angular-devkit/build-optimizer
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Bug Report or Feature Request (mark with an
x
)Versions.
@ngtools/webpack: 1.4.0
Desired functionality.
When building in AOT mode I noticed that only decorators defined in
ts
files are stripped and those defined in node_modules such as@angular/material2
are still included in the generated bundle.Mention any other details that might be useful.
Example material2: