Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Commit

Permalink
Merge pull request #375 from odbayar/patch-1
Browse files Browse the repository at this point in the history
Load the sourcemaps generated in browserify
  • Loading branch information
JeffreyWay committed Jan 12, 2016
2 parents 9170aa8 + 2561cfd commit 122c92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/browserify.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Elixir.extend('browserify', function(src, output, baseDir, options) {
})
.pipe(source(paths.output.name))
.pipe(buffer())
.pipe($.if(config.sourcemaps, $.sourcemaps.init()))
.pipe($.if(config.sourcemaps, $.sourcemaps.init({ loadMaps: true })))
.pipe($.if(config.production, $.uglify()))
.pipe($.if(config.sourcemaps, $.sourcemaps.write('.')))
.pipe(gulp.dest(paths.output.baseDir))
Expand Down

0 comments on commit 122c92a

Please sign in to comment.