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

refactor!: remove app config support #2526

Closed pi0 closed 3 months ago

pi0 commented 3 months ago

app.config support added to Nitro v2 mainly for feature parity with same feature of Nuxt and also allowing Nuxt apps to access app config from server handlers.

This feature does not actually belongs to nitro core and adds unnecessary (in nuxt actually double!) of app config to the bundle and code complexity.

Similar feature can be implemented using nitro VFS for bundled config/data.