Skip to content

Commit

Permalink
v5.5.2 – Better error handling for JS bundling so that errors in the …
Browse files Browse the repository at this point in the history
…browserify build don’t break the stream 🚑 (#83)
  • Loading branch information
ashleynolan authored and DamianMullins committed Aug 25, 2017
1 parent cccb668 commit 5912c68
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).


v5.5.2
------------------------------
*August 25, 2017*

### Added
- Better error handling for JS bundling so that errors in the browserify build don’t break the stream


v5.5.1
------------------------------
*August 24, 2017*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@justeat/gulp-build-fozzie",
"version": "5.5.1",
"version": "5.5.2",
"description": "Gulp build tasks for use across Fozzie modules",
"main": "index.js",
"author": "Damian Mullins <[email protected]> (http://www.damianmullins.com)",
Expand Down
2 changes: 2 additions & 0 deletions tasks/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ gulp.task('scripts:bundle', () => {
return browserify(file, { debug: config.isDev })
.transform(babelify)
.bundle()
.on('error', config.gulp.onError)

.pipe(gulpif(config.isDev,
exorcist(`${pathBuilder.jsDistDir}/${distFile}.map`))
)
Expand Down

0 comments on commit 5912c68

Please sign in to comment.