Skip to content

Commit

Permalink
Merge pull request #258 from codfish/fix-minified-sourcemap
Browse files Browse the repository at this point in the history
Remove banner comment from minified sourcemap
  • Loading branch information
samccone committed Jun 22, 2016
2 parents 626aa05 + 1cc86f6 commit 8b944ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ function build(done) {
.pipe($.rename(exportFileName + '.min.js'))
.pipe($.sourcemaps.init({ loadMaps: true }))
.pipe($.uglify())
.pipe($.sourcemaps.write('./'))
.pipe($.header(banner))
.pipe($.sourcemaps.write('./'))
.pipe(gulp.dest(destinationFolder))
.on('end', done);
}).catch(console.error);
Expand Down

0 comments on commit 8b944ba

Please sign in to comment.