gulp-semiflat
Amend the base path of gulp vinyl files based on a
glob
to produce a somewhat flatter file tree at the destination.
Install
Install with npm.
npm install --save-dev gulp-semiflat
Usage
var gulp = ;var gulpSemiFlat = ; gulp
Note that trailing ** in the glob will match the full path to the file. This will give the limiting case of gulp-flatten.