Update Rollup plugins (#13265)
This commit is contained in:
@@ -2,7 +2,7 @@ import syntaxObjectRestSpread from "@babel/plugin-syntax-object-rest-spread";
|
||||
|
||||
export default function ({ types: t }) {
|
||||
return {
|
||||
inherits: syntaxObjectRestSpread,
|
||||
inherits: syntaxObjectRestSpread.default,
|
||||
|
||||
visitor: {
|
||||
CallExpression(path) {
|
||||
|
||||
@@ -2,7 +2,7 @@ import syntaxOptionalCatchBinding from "@babel/plugin-syntax-optional-catch-bind
|
||||
|
||||
export default function ({ types: t }) {
|
||||
return {
|
||||
inherits: syntaxOptionalCatchBinding,
|
||||
inherits: syntaxOptionalCatchBinding.default,
|
||||
|
||||
visitor: {
|
||||
CatchClause(path) {
|
||||
|
||||
Reference in New Issue
Block a user