This package has been deprecated

Author message:

The gulp-sourcemap plugin can be removed. Gulp already has built-in support for source maps. https://gulpjs.com/docs/en/api/src/#sourcemaps

gulp-sourcemap

1.0.2 • Public • Published

gulp-sourcemap

Warning
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
The gulp-sourcemap plugin can be removed. Gulp already has built-in support for source maps. https://gulpjs.com/docs/en/api/src/#sourcemaps

Source map support for Gulp.js.
Write inline source maps.
Inline source maps are embedded in the source file.

Usage

Example:

var gulp = require('gulp');
var sourcemaps = require('gulp-sourcemap');
gulp.src('dist/JSLite.js')
    .pipe(sourcemap({
        outSourceMap:'JSLite.js.map',
        sourceRoot:"http://jslite.io",
        write:'./build/'
    }))
    .pipe(gulp.dest('./build/'));

Options

sourceRoot root: the sourceRoot property (see the spec)
outSourceMap The inSourceMap is only used if you also request outSourceMap (it makes no sense otherwise).

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-sourcemap

Weekly Downloads

654

Version

1.0.2

License

MIT

Unpacked Size

3.34 kB

Total Files

3

Last publish

Collaborators

  • wcjiang