allow syncing runtime config with full stack frameworks without depending on imports
Open
@pi0 is already working on this.
Since Apr 25, 2025.
enhancement
v2
- Dominant language
- TypeScript
- Stars
- 11.2k
- Forks
- 899
- Avg merge
- 2d 24m
- Merged PRs (30d)
- 40
Description
Context: https://github.com/nuxt/nuxt/issues/14919
globalThis.__nitro__.useRuntimeConfig() could be useful for frameworks to use nitro runtime API without depending on bundler imports -- mainly for prerenderer preoptimizations --
(update: looking for a more secure way to allow access without imports but also avoid exposing nitro internals to globalThis)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.