nitro icon indicating copy to clipboard operation
nitro copied to clipboard

feat: support templates

Open Barbapapazes opened this issue 2 months ago โ€ข 3 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)
  • [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.

Barbapapazes avatar Jun 10 '24 19:06 Barbapapazes