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-plugin-transform-es2015-arrow-functions bug (T7215) #4182
Comments
|
The fix for this ended up introducing a separate bug (https://phabricator.babeljs.io/T7272), so we've rolled this back for now. Will re-evaluate the best fix. |
It works if there's explicit declaration and then export
|
@danharper already created a PR with a fix in #4524 🎉 |
Fix in #4524, will release this week |
Bug information
Input code
Description
You'll notice an
export
at the bottom that didn't get transpiled.Sorry, regarding Babel "version", wasn't sure which version to put since there are so many libraries. I'm using babel-plugin-transform-es2015-arrow-functions@6.5.2.
The text was updated successfully, but these errors were encountered: