abagshaw/brackets-minifier

Features of this minifier

SheepDomination opened this issue · 5 comments

This minifier needs to be able to do what this minifier can do in Sublime.

What exactly are the features you would like to see added to brackets-minifier?

HTML & SVG as well the ability to work offline.

HTML & SVG may be added in the future if there is enough demand for it (and if I or someone else has the time to work on implementing these features).

I'm not sure what you mean when you say "the ability to work offline". This plugin doesn't require an internet connection - all processing is done locally.

Is there a option now or possibly in the future that all console.log are removed in the output when the JS is minified? Would be very handy that when using the non-minified js in development to see console.log but hide them in production in the minified version!

@lauriinc You can certainly do that by using the drop_console compress option with UglifyJS. You would want to specify that in the Minifier Options area.

I'm going to close this issue as HTML & SVG minification is not likely to be added to this plugin. I'd like to keep this just to JS and CSS minification.