.. | |||
lib | 17 days ago | ||
node_modules | 17 days ago | ||
LICENSE | 17 days ago | ||
README.md | 17 days ago | ||
index.js | 17 days ago | ||
package.json | 17 days ago |
Gulp plugin for generating an identity sourcemap for a file.
var identityMap = require('@gulp-sourcemaps/identity-map'); gulp.src(...) .pipe(sourcemaps.init()) .pipe(identityMap()) // .js and .css files will get a generated sourcemap .pipe(sourcemaps.write()) .pipe(gulp.dest(...))
identityMap()
Returns an objectMode
Transform stream that processes each file with a .sourceMap
property and buffered contents. A sourcemap is generated and attached for each .js
and .css
file.
MIT