nitro
nitro copied to clipboard
feat: support templates
๐ Linked issue
/
โ Type of change
- [ ] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
- [ ] ๐ Bug fix (a non-breaking change that fixes an issue)
- [x] ๐ Enhancement (improving an existing functionality like performance)
- [ ] โจ 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
Hello ๐,
This PR is closely related to #2505.
With templates, modules authors could add d.ts
file into the buildDir
in order to augment some types. (or more usage like in Nuxt).
This is a first bare-bone implementation.
๐ Checklist
- [ ] I have linked an issue or discussion.
- [ ] I have updated the documentation accordingly.