vinyl-sourcemaps-apply
Apply a source map to a vinyl file, merging it with preexisting source maps.
Usage:
var applySourceMap = ;;
Example (Gulp plugin):
var through = ;var applySourceMap = ;var myTransform = ; module { { // generate source maps if plugin source-map present if filesourceMap optionsmakeSourceMaps = true; // do normal plugin logic var result = ; filecontents = resultcode; // apply source map to the chain if filesourceMap ; this; ; } return through;};