sensordb2 e64a8defe5 3.17 il y a 1 an
..
lib e64a8defe5 3.17 il y a 1 an
node_modules e64a8defe5 3.17 il y a 1 an
LICENSE e64a8defe5 3.17 il y a 1 an
README.md e64a8defe5 3.17 il y a 1 an
index.js e64a8defe5 3.17 il y a 1 an
package.json e64a8defe5 3.17 il y a 1 an

README.md

@gulp-sourcemaps/identity-map

NPM version Downloads Build Status AppVeyor Build Status Coveralls Status

Gulp plugin for generating an identity sourcemap for a file.

Example

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(...))

API

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.

License

MIT