nitro
nitro copied to clipboard
feat: `.dev` suffix for dev only route
๐ Linked issue
#1849
โ 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
Add the ablity to exclude a routes in production build by adding the .dev suffix.
I'm not sure if this should also apply to middlewares too.
๐ Checklist
- [x] I have linked an issue or discussion.
- [x] I have updated the documentation accordingly.