Minify icon indicating copy to clipboard operation
Minify copied to clipboard

[Feature Request] Replace Uglify-JS with Terser

Open Kein opened this issue 5 years ago • 2 comments

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?

Kein avatar May 23 '19 19:05 Kein

yes, please !

strukturart avatar Oct 12 '19 10:10 strukturart

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",
}

ashucg avatar Dec 02 '19 12:12 ashucg