Add optional catch binding to stage 3 preset (#6032)
This commit is contained in:
parent
6d965c0926
commit
c5e81516dd
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@ -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() {
|
||||
@ -9,6 +10,7 @@ export default function() {
|
||||
syntaxDynamicImport,
|
||||
transformAsyncGeneratorFunctions,
|
||||
transformObjectRestSpread,
|
||||
transformOptionalCatchBinding,
|
||||
transformUnicodePropertyRegex,
|
||||
],
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user