Skip to content

Commit

Permalink
moving error statement to separate line
Browse files Browse the repository at this point in the history
  • Loading branch information
bhough committed Mar 31, 2015
1 parent c1ed316 commit 42094ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/recipes/browserify-uglify-sourcemap.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ gulp.task('javascript', function () {
.pipe(browserified)
.pipe(sourcemaps.init({loadMaps: true}))
// Add transformation tasks to the pipeline here.
.pipe(uglify().on('error', gutil.log))
.pipe(uglify())
.on('error', gutil.log)
.pipe(sourcemaps.write('./'))
.pipe(gulp.dest('./dist/js/'));
});
Expand Down

0 comments on commit 42094ec

Please sign in to comment.