Open Kein opened 5 years ago
yes, please !
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",
}
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?