sensordb2 e64a8defe5 3.17 | hai 1 ano | |
---|---|---|
.. | ||
lib | hai 1 ano | |
node_modules | hai 1 ano | |
LICENSE | hai 1 ano | |
README.md | hai 1 ano | |
index.js | hai 1 ano | |
package.json | hai 1 ano |
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