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
{{ message }}
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
I am building my code using @babel/preset-modules, this plugin fails to parse on default exports without a class name when they're not being transformed by Babel. That is, components that look like this:
export default class extends Component {}
I looked at adding some failing tests and fixing the plugin but it looks like it hasn't been updated for awhile and is still based on Babel 6, so would likely require some maintenance as well.
If it were up to me, I would probably:
update the test suite to build both modern and ES2015 code in the tests
maybe move to Jest in order to take advantage of snapshots?
update the plugin for Babel 7
Happy to help with a PR if there's appetite for this change.
The text was updated successfully, but these errors were encountered:
I am building my code using
@babel/preset-modules
, this plugin fails to parse on default exports without a class name when they're not being transformed by Babel. That is, components that look like this:I looked at adding some failing tests and fixing the plugin but it looks like it hasn't been updated for awhile and is still based on Babel 6, so would likely require some maintenance as well.
If it were up to me, I would probably:
Happy to help with a PR if there's appetite for this change.
The text was updated successfully, but these errors were encountered: