You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use babel to transpile some ES7 features like object rest spread:
let foo = {
...bar,
myProp:'foo'
}
Which is no problem for formatting, but throws "Unexpected token ..." error when using "-r". Is there also a plugin mechanism for replacing as for formatting?
The text was updated successfully, but these errors were encountered:
I use babel to transpile some ES7 features like object rest spread:
Which is no problem for formatting, but throws "Unexpected token ..." error when using "-r". Is there also a plugin mechanism for replacing as for formatting?
The text was updated successfully, but these errors were encountered: