jamesknelson / gulp-rev-replace

Rewrite occurences of filenames which have been renamed by gulp-rev
MIT License
389 stars 62 forks source link

Desired output? #13

Open niftylettuce opened 10 years ago

niftylettuce commented 10 years ago

At first I assume that this was what the function did:

    .pipe(through.obj(function(file, enc, cb) {
      file.path = file.revOrigPath
      cb(null, file)
    }))

However it doesn't do that it seems, but this would be a cool package to have! gulp-rev-undo or something haha.