-
-
Notifications
You must be signed in to change notification settings - Fork 7
ESM export? #49
Copy link
Copy link
Closed
Labels
featureNew feature or requestNew feature or requestupstreamBlocked by an issue upstreamBlocked by an issue upstream
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requestupstreamBlocked by an issue upstreamBlocked by an issue upstream
Issue
I am trying to try this awesome library in my project, but I just found that it cannot be imported as a ESM module from my test files.
I am using web-test-runner (https://modern-web.dev/docs/test-runner/writing-tests/js-tests/) to run my tests, and as you can see, ESM imports are necesary, but it doesn't support TS or require/AMD exports
Would be possible to build the project allowing to do imports from JS files, like it's in TS?
Thanks!