gulp-usemin
gulp-usemin copied to clipboard
outputRelativePath gets truncated
An outputrelativePath of ../../../../../ will be truncated to ../../../, so anything more than 3 levels won't work.
Does not seem like a problem with usemin, but probably with gulp-concat.
You may observe this behaviour if you add a console.info(file) to this bit in pipeline.js while having an outputrelativePath set to say: ../../../../../
tasks.push(through.obj(function(file, enc, streamCallback) {
streamCallback(null, file);
push(file);
console.info(file); // Note how outputrelativePath loses depth before this
}));