Skip to content

Commit

Permalink
fix(babel): properly transpile extended error classes
Browse files Browse the repository at this point in the history
  • Loading branch information
hfreire committed Jun 24, 2017
1 parent e04cf75 commit ac36b4c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"presets": [
"es2015"
],
"plugins": [
[
"babel-plugin-transform-builtin-extend",
{
"globals": [
"Error"
]
}
]
]
}

0 comments on commit ac36b4c

Please sign in to comment.