biobulkbende.org/node_modules/@gulp-sourcemaps/identity-map
Tancre 0efda7fffe structure, layout and automation 2020-09-16 14:23:28 +02:00
..
lib structure, layout and automation 2020-09-16 14:23:28 +02:00
node_modules structure, layout and automation 2020-09-16 14:23:28 +02:00
LICENSE structure, layout and automation 2020-09-16 14:23:28 +02:00
README.md structure, layout and automation 2020-09-16 14:23:28 +02:00
index.js structure, layout and automation 2020-09-16 14:23:28 +02:00
package.json structure, layout and automation 2020-09-16 14:23:28 +02:00

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