Skip to content

Commit

Permalink
fix(uglify): Fix the order of uglify.
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorgerhardt committed Nov 1, 2016
1 parent 1bb3b11 commit 638603b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/browserify.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = function ({
})

if (minify) {
pipeline.transform({ global: true }, uglifyify)
pipeline.transform(uglifyify, {global: true})
}

return pipeline
Expand Down

0 comments on commit 638603b

Please sign in to comment.