mkdist icon indicating copy to clipboard operation
mkdist copied to clipboard

feat: introduce `alias` option support

Open NamesMT opened this issue 11 months ago โ€ข 4 comments

๐Ÿ”— 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.

NamesMT avatar Mar 11 '24 06:03 NamesMT