Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Doesn't work with "modern" transpilation #10

Description

@marcins

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions