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

[Feature Request] Replace Uglify-JS with Terser #80

Open
Kein opened this issue May 23, 2019 · 2 comments
Open

[Feature Request] Replace Uglify-JS with Terser #80

Kein opened this issue May 23, 2019 · 2 comments

Comments

@Kein
Copy link

Kein commented May 23, 2019

Uglify-JS doesn ot support ES6/2018.
Terser does. Since it is a fork of UglifyJS it should not be too much of a hassle to switch. Consider abandoning UJS and using Terser?

@strukturart
Copy link

yes, please !

@ashucg
Copy link
Contributor

ashucg commented Dec 2, 2019

You can actually set the uglifyjs_command pref to terser, I have done the same.

My config file:

{
    "debug_mode": true,
    "css_source_map": true,
    "js_map_content": true,
    "js_dist_directory": true,
    "css_dist_directory": true,
    "uglifyjs_command": "terser",
}

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

No branches or pull requests

3 participants