kevin tessier 5eedee288e install npm | 5 年之前 | |
---|---|---|
.. | ||
lib | 5 年之前 | |
node_modules | 5 年之前 | |
LICENSE | 5 年之前 | |
README.md | 5 年之前 | |
index.js | 5 年之前 | |
package.json | 5 年之前 |
Gulp plugin for generating an identity sourcemap for a file.
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(...))
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.
MIT