Closed BobbieGoede closed 8 months ago
I would still like to improve the type in
ModulePublicRuntimeConfig
so users know which values cannot be configured usingruntimeConfig
, for example those used during route generation, should I mark these@internal
using JSDocs?
Yes!
We should mark as @internal
and summary note for developer.
π Linked issue
β Type of change
π Description
Replaces #2734
I would still like to improve the type in
ModulePublicRuntimeConfig
so users know which values cannot be configured usingruntimeConfig
, for example those used during route generation, should I mark these@internal
using JSDocs?By using
runtimeConfig
to pass the generated options we can reduce the complexity of our generated options templates (#build/i18n.options.mjs
and#internal/i18n/options.mjs
) and will make it easier for us to addruntimeConfig
support for options used exclusively during runtime (detectBrowserLanguage
for example).I had to add
configLocales
to the runtime config aslocales
was already used for runtime domain support, we should probably merge these configurations for v9.π Checklist