At the moment runtimeConfig is resolved by Nitro which means that Nuxt modules can't access the resolved config from environment.
We can resolve this in Nuxt directly to improve module author experience and promote consistency, without changing build/runtime behaviour.