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: make sure nitro runtime goes to one chunk #2547

Closed pi0 closed 3 months ago

pi0 commented 3 months ago

(context: Reported by @Atinux testing nitropack nightly against nuxt content module which has top level imports from #imports + nuxt renderer from #internal/nitro)

Nitro runtime can be imported with different ways #nitropack/runtime, #internal/nitro, #nitriopack/runtime/*. This makes rollup warning about manual chunks.