@gulp-sourcemaps/identity-map
Gulp plugin for generating an identity sourcemap for a file.
Last updated 10 months ago by nmccready .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (10 months ago)

5 Versions

  • 2.0.1                                ...           10 months ago
  • 2.0.0                                ...           2 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Downloads
Today 155
This Week 1,860
This Month 4,481
Last Day 423
Last Week 2,392
Last Month 11,342
Dependencies (5)
Dev Dependencies (8)

Copyright 2014 - 2017 © taobao.org |