nitro icon indicating copy to clipboard operation
nitro copied to clipboard

fix: unify import paths for Nitro runtime modules

Open productdevbook opened this issue 9 months ago โ€ข 2 comments

๐Ÿ”— Linked issue

wait: https://github.com/unjs/mkdist/pull/272

cc: https://github.com/nitrojs/nitro/pull/3246 Continuation of the work here

โ“ Type of change

  • [ ] ๐Ÿ“– Documentation (updates to the documentation, readme, or JSdoc annotations)
  • [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)
  • [ ] ๐Ÿงน Chore (updates to the build process or auxiliary tools and libraries)
  • [ ] โš ๏ธ Breaking change (fix or feature that would cause existing functionality to change)

๐Ÿ“š Description

๐Ÿ“ Checklist

  • [ ] I have linked an issue or discussion.
  • [ ] I have updated the documentation accordingly.

productdevbook avatar Mar 25 '25 02:03 productdevbook

we have a problem, unbuild does not add .mts in runtime there is a problem on the unbuild side. So there is no access to types and no reading of types.

CleanShot 2025-03-25 at 12 12 44@2x

productdevbook avatar Mar 25 '25 09:03 productdevbook

wait: https://github.com/unjs/mkdist/pull/272

Nitro will soon migrate to obuild which has proper output extensions and rewrites.

pi0 avatar Apr 25 '25 09:04 pi0