Skip to content

Commit

Permalink
Add optional catch binding to stage 3 preset (#6032)
Browse files Browse the repository at this point in the history
  • Loading branch information
existentialism authored and hzoo committed Jul 31, 2017
1 parent 6d965c0 commit c5e8151
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/babel-preset-stage-3/package.json
Expand Up @@ -11,6 +11,7 @@
"babel-plugin-syntax-dynamic-import": "7.0.0-alpha.17",
"babel-plugin-transform-async-generator-functions": "7.0.0-alpha.17",
"babel-plugin-transform-object-rest-spread": "7.0.0-alpha.17",
"babel-plugin-transform-optional-catch-binding": "7.0.0-alpha.17",
"babel-plugin-transform-unicode-property-regex": "^2.0.2"
}
}
2 changes: 2 additions & 0 deletions packages/babel-preset-stage-3/src/index.js
@@ -1,6 +1,7 @@
import syntaxDynamicImport from "babel-plugin-syntax-dynamic-import";
import transformAsyncGeneratorFunctions from "babel-plugin-transform-async-generator-functions";
import transformObjectRestSpread from "babel-plugin-transform-object-rest-spread";
import transformOptionalCatchBinding from "babel-plugin-transform-optional-catch-binding";
import transformUnicodePropertyRegex from "babel-plugin-transform-unicode-property-regex";

export default function() {
Expand All @@ -9,6 +10,7 @@ export default function() {
syntaxDynamicImport,
transformAsyncGeneratorFunctions,
transformObjectRestSpread,
transformOptionalCatchBinding,
transformUnicodePropertyRegex,
],
};
Expand Down

0 comments on commit c5e8151

Please sign in to comment.