tssajo / Minify

Minify for Sublime Text allows you to quickly minify and/or beautify CSS, JavaScript, JSON, HTML and SVG files -- compatible with ST2 and ST3
Other
93 stars 16 forks source link

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

Open Kein opened 5 years ago

Kein commented 5 years ago

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 commented 4 years ago

yes, please !

ashucg commented 4 years ago

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