mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix(schema): initialise runtimeConfig.public
with empty object (#9050)
This commit is contained in:
parent
9ab069b2a3
commit
38d7f61ac2
@ -424,7 +424,7 @@ export default defineUntypedSchema({
|
||||
*/
|
||||
runtimeConfig: {
|
||||
$resolve: async (val: RuntimeConfig, get) => defu(val, {
|
||||
public: await get('publicRuntimeConfig'),
|
||||
public: {},
|
||||
app: {
|
||||
baseURL: (await get('app')).baseURL,
|
||||
buildAssetsDir: (await get('app')).buildAssetsDir,
|
||||
|
Loading…
Reference in New Issue
Block a user