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

Fix exports #371

Merged
merged 8 commits into from
Jul 10, 2024
Merged

Fix exports #371

merged 8 commits into from
Jul 10, 2024

Conversation

trxcllnt
Copy link
Member

@trxcllnt trxcllnt commented Jul 3, 2024

  • Adds the missing extensions to the includes and ignoreerror exports
  • Adds/renames the top-level exports so they match the directory names.
  • Ensures UMD exports align with the exports for the other packages

With these changes, all the following forms are now valid:

import * as it from 'ix/iterable';
import * as ai from 'ix/asynciterable';
import * as itOps from 'ix/iterable/operators';
import * as aiOps from 'ix/asynciterable/operators';

Before, the only way to import all exports (across all published packages) was to import from the top-level:

import * as itOps from 'ix/Ix.iterable.operators';

Closes #370

@trxcllnt trxcllnt merged commit d461eae into master Jul 10, 2024
72 checks passed
@trxcllnt trxcllnt deleted the fix/fix-imports branch July 10, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Importing ESM index modules throws an error during module resolution
1 participant