🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

gulp-sourcemap

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-sourcemap

Source map support for Gulp.js

1.0.2
latest
Source
npm
Version published
Maintainers
1
Created
Source

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).

FAQs

Package last updated on 07 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts