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

Should add .js to import statement #36

Closed
compulim opened this issue Jun 26, 2024 · 1 comment
Closed

Should add .js to import statement #36

compulim opened this issue Jun 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@compulim
Copy link
Owner

Version

Latest development (@main)

Module resolution

ESM: import { someIterable } from "iter-fest"

Bundler

Not an app

Environment

Others or unrelated

Test case

import { iteratorEvery } from 'iter-fest';

test('iteratorEvery should work', () => expect(iteratorEvery([1, 2, 3].values(), value => value)).toBe(true));

Coding sandbox URL

No response

Console errors

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/workspaces/.../node_modules/core-js-pure/full/iterator/every-async' imported from /workspaces/.../node_modules/iter-fest/dist/chunk-....mjs

Screenshots

No response

Additional context

No response

@compulim compulim added the bug Something isn't working label Jun 26, 2024
@compulim
Copy link
Owner Author

Fixed in PR #43.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant