You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rdrew
573c318665
|
2 years ago | |
---|---|---|
.. | ||
lib | 2 years ago | |
node_modules | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
index.js | 2 years ago | |
package.json | 2 years ago |
README.md
@gulp-sourcemaps/identity-map
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