Feature request: minify multiple files
Hi - thanks for this great package. I'm requesting for minify/beautify multiple files feature since Im working on multiple js files. maybe selecting the main folder and minify the files under that folder of we can add the files that we are working to a list to be minified/beautified.
Also another possibility is to have a file to be minified on save.
Hi, great package indeed ! Working with many js files too, and a multiple minify/beautify feature would be greatly appreciated. Right-click a folder and minify/beautify all related files would be great.
Regards.
@azrin1972 In Minify v1.1.2 there is a new option (see Minify.sublime-settings file) called auto_minify_on_save. When you set it to true the plugin will auto-minify files on save.
Note: It is advised to set open_file to false when you set auto_minify_on_save to true.
Thanks. Great plugin. So what you mean is we just need to open all required .html, .css, .js in Sublime. Then go to File -> Save All ?
@hatted Yes, that should work fine. But I never tried the Save All function. I usually just Save a single file at a time. Of course, first you have to install the plugin properly and then set auto_minify_on_save to true in its config file. If you try it, please let me know if it worked or not. Thanks!