Socket
Socket
Sign inDemoInstall

gulp-concat-sourcemap

Package Overview
Dependencies
3
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-concat-sourcemap


Version published
Weekly downloads
212
decreased by-38.19%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

gulp-concat-sourcemap Build Status

Concatenate files and generate a source map file.

Based on https://github.com/wearefractal/gulp-concat

Usage

var concat = require('gulp-concat-sourcemap');

gulp.task('concat', function() {
    gulp.src(['file1.js', './js/*.js', 'file2.js'])
        .pipe(concat('all.js', options))
        .pipe(gulp.dest('./dist/'));
});

Options

options.sourcesContent An optional flag that tells the source map generator whether or not to include all original sources in the map.

options.sourceRoot An optional root for all relative URLs in the source map.

options.prefix Skip prefix for original filenames that appear in source maps. For example {prefix: 3} will drop 3 directories from file names.

options.sourceMappingBaseURL Add this to the beginning of sourceMappingURL.

Keywords

FAQs

Last updated on 07 Jul 2014

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc