Skip to content

Commit

Permalink
Merge pull request #4 from thealjey/patch-1
Browse files Browse the repository at this point in the history
Return a plain object to support Babel 6.
  • Loading branch information
RReverser committed Dec 3, 2015
2 parents 67ab2f4 + f0defaf commit 129cc6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class LocationFixer extends TreeWalker {
}
}

export default ({ Plugin, types: t }) => new Plugin('uglify', {
export default ({ types: t }) => ({
visitor: {
Program(ast) {
// Convert to UglifyJS AST
Expand Down

0 comments on commit 129cc6b

Please sign in to comment.