Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-concat-sourcemap

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-concat-sourcemap

Concatenate files and generate a source map file

  • 1.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
343
increased by27.04%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 15 May 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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc