Skip to content
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

esm index.js does not work in the browser #74

Closed
keroiber opened this issue Apr 19, 2024 · 1 comment
Closed

esm index.js does not work in the browser #74

keroiber opened this issue Apr 19, 2024 · 1 comment
Labels

Comments

@keroiber
Copy link

Hi

When I import index.js as esm module in the browser then the re-exported modules are not found because the extension (.js) is missing.

This should be fixed if you add the extension in the source (index.ts), e.g. export { compare } from './compare.js';

@omichelsen
Copy link
Owner

omichelsen commented Jul 13, 2024

I created a fix #75 and released as v6.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants