JsMinifier icon indicating copy to clipboard operation
JsMinifier copied to clipboard

Feature Request : "Minify on save"

Open WilliamVercken opened this issue 11 years ago • 1 comments

Hi !

I here to request an option : is it possible to minify a script.js to script.min.js when we are saving the original file (script.js) ? Something like "minify_on_save": false, by default.

Each time I modify a file, I have to save it (ctr + s) and then to minify it (ctr + p , "min", enter). It's a waste of time, and sometimes I forget to do it...

Thank you very much for your answer (positive or negative) ! :)

WilliamVercken avatar Jan 22 '14 15:01 WilliamVercken

IT'S A BAD IDEA !! I didn't thought about the case when there already is a .min.js file minify by another tool, or when we just don't want to have a minified file added...

BUT ! We can have an optio "save_on_minify": false, (the inverse) : each time I minify a js, it automatically save the original.

It not a great saved time, but it less handling... :)

WilliamVercken avatar Jan 22 '14 16:01 WilliamVercken