unjs / nitro

Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
https://nitro.unjs.io
MIT License
5.89k stars 496 forks source link

fix: more compatibility for import from `nitropack/runtime/*` #2501

Closed pi0 closed 3 months ago

pi0 commented 3 months ago

With #2473 refactors, all runtime imports should be from nitropack/runtime.

This PR resolves #2499 (for nitropack/runtime/plugin) and possible cases alike that users used nitropack/runtime/* and #internal/nitro/* paths: