Closed OZZlE closed 8 years ago
sorry my misstake
I stumbled across this issue when running into similar issues. It turns out I was getting confused by the default behaviour of gulp-minify
: it creates new files with the min
extensions. This can be disabled as explained here:
https://github.com/hustxiaoc/gulp-minify/issues/20#issuecomment-300669882
@OZZlE What was your solution? I am having the same issue of changing the default to .min
, but then it it creates a new copy of .min.min
@OZZlE What was your solution? I am having the same issue of changing the default to
.min
, but then it it creates a new copy of.min.min
@howeller I had the same question. After a bit of testing I was able to get ignoreFiles
to work by putting an asterisk at the beginning of the file extension, i.e. ignoreFiles: ['*.min.js']
.
I have the following:
I've tried with: ignoreFiles: ['min.js'] and ignoreFiles: ['.min.js'](my files are .min) but it still minifies those and appends the -min.js to the file name