VSCodeMinify icon indicating copy to clipboard operation
VSCodeMinify copied to clipboard

create minified version on save when the related file does not exist

Open rrd108 opened this issue 6 years ago • 4 comments

This is a feature request.

I think it would be nice if the plugin can create the minified versions on save when the related minified file does not yet exists.

I normally minify all my files, so with this I can skip the step when I have to create the first minified version manually.

rrd108 avatar Jan 01 '19 12:01 rrd108

This is a feature request.

I think it would be nice if the plugin can create the minified versions on save when the related minified file does not yet exists.

I normally minify all my files, so with this I can skip the step when I have to create the first minified version manually.

@rrd108 This feature already exist and it's working.

image

janez33 avatar Jan 21 '19 13:01 janez33

As I see and tested this ONLY works if you have ALREADY EXISTS. So the extension does not create a new file if it is not already there. Am I wrong?

rrd108 avatar Jan 21 '19 17:01 rrd108

Correct. You just have to run it manually once, then it will happen on save from then on. This avoids accidentally minifying files that you don't want/need minified.

HookyQR avatar Mar 27 '19 08:03 HookyQR

Correct. You just have to run it manually once, then it will happen on save from then on. This avoids accidentally minifying files that you don't want/need minified.

  • How to do it, if the file does not exist, automatically create the minified file.

  • When created, updated, is it possible to send it via FTP automatically?

tiagocaus avatar Jan 08 '23 12:01 tiagocaus