@gulp-sourcemaps/identity-map

2.0.1 • Public • Published

@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.1
    168,947
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.1
    168,947
  • 2.0.0
    1
  • 1.0.2
    172,662
  • 1.0.1
    3,358
  • 1.0.0
    22

Package Sidebar

Install

npm i @gulp-sourcemaps/identity-map

Weekly Downloads

344,990

Version

2.0.1

License

MIT

Unpacked Size

5.68 kB

Total Files

5

Last publish

Collaborators

  • floridoo
  • nmccready
  • phated