# gulp-sourcemap

> Source map support for Gulp.js

Latest version **1.0.2** (published 2022-07-07) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install gulp-sourcemap
pnpm add gulp-sourcemap
yarn add gulp-sourcemap
bun add gulp-sourcemap
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-07-07 |
| First published | 2015-11-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | kenny wang |
| Maintainers | wcjiang |

## Links

- npm: https://www.npmjs.com/package/gulp-sourcemap
- Repository: https://github.com/jaywcjlove/gulp-sourcemap
- Homepage: https://github.com/jaywcjlove/gulp-sourcemap#readme
- Issues: https://github.com/jaywcjlove/gulp-sourcemap/issues
- npm.io page: https://npm.io/package/gulp-sourcemap

## Recent versions

- 1.0.2 (latest) — 2022-07-07
- 1.0.1 — 2015-11-20
- 1.0.0 — 2015-11-18

## README

# 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:

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

---
_Source: https://npm.io/package/gulp-sourcemap · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
