-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Babel 6.x support #5
Conversation
…te nodes in a babel way
… assertion expression
… syntax transformation
Doesn't work with babel-preset-es2015 yet since Babel6 plugin runs AFTER presets ? |
AVA is upgrading to Babel 6. |
…of paths (espath)
…raversing It's a mega hack.
…er processing but do not call NodePath#skip to not to interrupt other transformers
Did you see this comment: babel/babel#2648 (comment) You should be able to work with presets and plugins like this: {
"presets": [
{
"plugins": [
"transform-foo",
"transform-bar"
]
},
"es2015"
]
} |
…nd AwaitExpression
… node to avoid extra traversal
…and only if modified
…rent node will be skipped on revisit
WOOOT! |
@jamestalmage Thanks!! |
Awesome work people! :) |
@sindresorhus That was a tough one ;) |
@jamestalmage is working on it in avajs/ava#212. |
Thanks @jamestalmage ! |
as we speak! |
Wrestling with Babel6
fixes #4