-
Notifications
You must be signed in to change notification settings - Fork 29
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
feat: add wildcard exports #228
Conversation
Need to reoslve the conflicts here, would be great to have more description explaining how it works with the PR |
Acknowledged! |
@huozhi |
Thanks for the PR! It's a quite big change, it I'll try to find some time to review! 🙏 |
I've turned this to a draft since I'm working on making my codes more clear. Would be great if you take a look after I mark this as ready. Thank you! |
@huozhi Let me know if there are any predefined functions that I've missed using. Thank you! |
- removed 'objra' dependency
- added comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
One design improvement could be: keep getExportPaths
simple, that reciving a resolved exports map instead of cwd and doing cwd operation
I'll work on it for improvement, thank you. |
created an issue for it |
Yes I’m on it since last night. Thank you! |
Fixes: #199
If
exports[wildcard]
, read exportLike files & dirs based oncwd
, then replace wildcard with exportLikes.