mkdist
mkdist copied to clipboard
feat: introduce `alias` option support
๐ Linked issue
โ Type of change
- [ ] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
- [ ] ๐ Bug fix (a non-breaking change that fixes an issue)
- [ ] ๐ Enhancement (improving an existing functionality like performance)
- [x] โจ New feature (a non-breaking change that adds functionality)
- [ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- [ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
Implements alias
support using pathe
's resolveAlias, similar to jiti
and unbuild
config.alias option
Related to unbuild regarding alias breaking/not working in mkdist builder Related issues: #202, unjs/unbuild#375, unjs/unbuild#289
๐ Checklist
- [x] I have linked an issue or discussion.
- [x] I have updated the documentation accordingly.