[ ] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
[x] ๐ Bug fix (a non-breaking change that fixes an issue)
[ ] ๐ Enhancement (improving an existing functionality like performance)
[ ] โจ New feature (a non-breaking change that adds functionality)
[ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
[ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
Users may be under the impression they can set anything on runtimeConfig, e.g. Set(), Map(), functions, etc. This tries to check if it's a valid JSON object and if not - warn.
๐ Linked issue
https://github.com/nuxt/nuxt/pull/21466 https://github.com/nuxt/nuxt/issues/13992
โ Type of change
๐ Description
Users may be under the impression they can set anything on runtimeConfig, e.g. Set(), Map(), functions, etc. This tries to check if it's a valid JSON object and if not - warn.
๐ Checklist