Skip to content

mikach/gulp-concat-sourcemap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Concatenate files and generate a source map file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published