Skip to content
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

Update transformation: uglifyJsPlugin #389

Closed
bitpshr opened this issue Apr 9, 2018 · 5 comments
Closed

Update transformation: uglifyJsPlugin #389

bitpshr opened this issue Apr 9, 2018 · 5 comments

Comments

@bitpshr
Copy link
Member

bitpshr commented Apr 9, 2018

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
The current transformation supports migrating a webpack configuration from v1 to v2.

What is the expected behavior?
The transformation should support migrating a webpack configuration from v3 to v4.

If this is a feature request, what is motivation or use case for changing the behavior?
After some discussion the decision was made to update our migration transformations to actively support migrating only from the previous version to the current version, which currently means v3 - v4. Migrating older versions such as v1 or v2 will no longer be supported.

This feature request is to update the uglifyJsPlugin transformation accordingly.

@evenstensberg evenstensberg added this to the Vatican (v3) milestone Apr 10, 2018
@matheus1lva
Copy link
Member

i'm working on this!

@ematipico
Copy link
Contributor

Thanks!

@matheus1lva
Copy link
Member

matheus1lva commented Apr 10, 2018

Quick question, i could not find in the docs.

If i want to customize how the minification should work (add parameters, etc), i should use optimization.minimizer: [new Uglify({...opts}]?

@montogeek
Copy link
Member

montogeek commented Apr 10, 2018

@matheus1lva
Copy link
Member

@montogeek thanks, good to know where i can find things! now i can go straight there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants