@gulp-sourcemaps/identity-map
Gulp plugin for generating an identity sourcemap for a file.
Last updated 5 years ago by nmccready .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @gulp-sourcemaps/identity-map 
SYNC missed versions from official npm registry.

@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

Current Tags

  • 2.0.1                                ...           latest (5 years ago)

5 Versions

  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           6 years ago
  • 1.0.2                                ...           6 years ago
  • 1.0.1                                ...           8 years ago
  • 1.0.0                                ...           8 years ago
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (8)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE