-
Notifications
You must be signed in to change notification settings - Fork 25
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: introduce alias
option support
#203
base: main
Are you sure you want to change the base?
Conversation
Implements `alias` support using `pathe`'s resolveAlias, similar to `jiti` and `unbuild` config.alias option
Just realized mkdist doesn't transform aliases that point to
|
β¦ex's `./bar` import
Had some spare time to return to the PR and pushed a few more updates/fixes, such as CLI arg support and thorough case testing :D. |
Hi @pi0, I did some more testing and the PR looks ready to ship, |
π Linked issue
β Type of change
π Description
Implements
alias
support usingpathe
's resolveAlias, similar tojiti
andunbuild
config.alias optionRelated to unbuild regarding alias breaking/not working in mkdist builder
Related issues: #202, unjs/unbuild#375, unjs/unbuild#289
π Checklist