-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Silence UlgifyJS warnings #3068
Comments
In progress. See PR #2858 |
Dupe of #1836 as well. |
I agree this would be nice. Our automated CI tools will fail if we put verbose mode on, because of the warnings. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
macOS Sierra 10.12.1 (16B2555)
Versions.
angular-cli: 1.0.0-beta.19-3
node: 7.0.0
os: darwin x64
Repro steps.
I just invoked:
The log given by the failure.
Lots of warnings like:
Mention any other details that might be useful.
UlgifyJS prints warnings for every piece of dead code it strips as it was a user error that some unneeded code is there. Maybe that's the case for a lot of regular projects but this is a pretty normal scenario for Angular's tree shaking. It'd be good to silence those warnings (but not potential errors) so that it doesn't look so unnecessary scary and so that it doesn't push the final Webpack output way beyond the screen.
The text was updated successfully, but these errors were encountered: