[ ] 📖 Documentation (updates to the documentation or readme)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)
📚 Description
This adds support for Bundler TypeScript module resolution. It changes extensions of runtime dir files to .js which should be safe as this is a type: module project.
I also add a subpath for @nuxt/content/dist/runtime/types as this is already documented. But we could also have a more ergonomic subpath for type augmentation.
🔗 Linked issue
resolves https://github.com/nuxt/content/issues/2469
❓ Type of change
📚 Description
This adds support for Bundler TypeScript module resolution. It changes extensions of runtime dir files to
.js
which should be safe as this is atype: module
project.I also add a subpath for
@nuxt/content/dist/runtime/types
as this is already documented. But we could also have a more ergonomic subpath for type augmentation.📝 Checklist