Angular-cli: Customize Uglify JS Option

Created on 16 Aug 2018  路  3Comments  路  Source: angular/angular-cli

Bug Report or Feature Request (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ ] feature request

Desired functionality

I am need to customize the uglifier option from the webpack configuration. Can you please suggest me to how to pass the custom option for uglify JS.

Clarification

I hope ng eject is disabled in Angular 6. So can you please let know will it available in future if so can tell proximate timeline.

Also, It would better to Customize whole webpack options.

devkibuild-angular

All 3 comments

I'm sorry to say that adding fine grained control to uglify-js is something we've discussed and decided not to do at the moment.

@SridharSathaSivam I created a small custom builder for that. Hopefully we won't have to use for a long time and Angular teams adds this functionality at some point to their default builder.

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._

Was this page helpful?
0 / 5 - 0 ratings