gulp-neuter as a development dependency:
npm install --save-dev gulp-neuter
Then, add it to your
var gulp = ;var neuter = ;var inputDir = 'src';var outputDir = 'build';gulp;
neuter([outputFileName, mapFileName[, options]])
outputFileName(string); the name of the output file to use in the source map.
mapFileName(string); the name of the source map output file used to link the map file to the neutered js file.
options(object); for the full list of options, have a look at the node-neuter documentation. Gulp-neuter is a minimalistic wrapper on top of node-neuter and supports all options as listed. In addition a
sourceRootparameter is available which will be as the base path when referincing to the original source in the generated source map.