HookyQR / VSCodeMinify

Add minify function to VSCode 0.10+
53 stars 20 forks source link

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

Open rrd108 opened 5 years ago

rrd108 commented 5 years ago

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.

janez33 commented 5 years ago

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

rrd108 commented 5 years ago

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?

HookyQR commented 5 years ago

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.

tiagocaus commented 1 year ago

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.