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

Migrate sub-packages to package.json exports field #151

Closed
vitoke opened this issue Apr 24, 2023 · 0 comments · Fixed by #152 or #153
Closed

Migrate sub-packages to package.json exports field #151

vitoke opened this issue Apr 24, 2023 · 0 comments · Fixed by #152 or #153
Assignees

Comments

@vitoke
Copy link
Contributor

vitoke commented Apr 24, 2023

Currently sub-packages like @rimbu/list/custom are exported using folders containing their own package.json. However, it is now possible to use the exports field in package.json to do this. All rimbu packages should therefore be migrated to this new structure.

This also allows adding conditionals for various contexts like imports and require. This could also potentially add support for bun, since it seems to only run on the TypeScript code, and not on the transpiled code.

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