<!-- 💚 Thanks for your time to make Nuxt better with your feedbacks 💚 **IMPORTANT** Before reporting a bug: - Please make sure that you have read through Nuxt documentation: https://nuxtjs.org - If issue is related to a module please create the issue in corresponding repository - Ensure using latest version of nuxt dependencies using `yarn upgrade nuxt` or `npm upgrade nuxt` 👍 A properly detailed bug report can save a LOT of time and help fixing issues as soon as possible. --> ### Versions - nuxt: v2.15.3 - node: v12.16.3 ### Reproduction https://github.com/andrewspy/nuxt-app-runtime-config <details open> <summary>Additional Details</summary> <br> `nuxt.config.js` ```js publicRuntimeConfig: { app: { name: '$config.app.name', }, name: '$config.name', }, ``` </details> ### Steps to reproduce - See repo. - `yarn dev` ### What is Expected? `$config.app` should not be overridden. ### What is actually happening? nuxt overrides `$config.app` with the following: ``` "app": { "basePath": "/", "assetsPath": "/_nuxt/", "cdnURL": null }, ```
Versions
Reproduction
https://github.com/andrewspy/nuxt-app-runtime-config
Additional Details
nuxt.config.jsSteps to reproduce
yarn devWhat is Expected?
$config.appshould not be overridden.What is actually happening?
nuxt overrides
$config.appwith the following: