Skip to content

ESM export #292

Open
Open
@christian-bromann

Description

@christian-bromann

Describe the bug A clear and concise description of what the bug is.

This is less a bug as a feature request. It would be great if this package could export an ESM bundle. I am maintaining the WebdriverIO project and we are recommending this library for component testing in the browser. We have Vite transforming the CJS code into ESM but it fails doing that for Windows for whatever reasons.

I thought exporting an ESM version is a reasonable request and would make adopters life a bit easier.

Happy to take a stab at it.

To Reproduce Steps to reproduce the behavior:

Try to import this package within a ESM context.

Expected behavior

It should load.

Screenshots

Related information:

  • @testing-library/vue version:
  • Vue version:
  • node version:
  • npm (or yarn) version:

Relevant code or config (if any)

Additional context

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions