mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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: {
|
runtimeConfig: {
|
||||||
$resolve: async (val: RuntimeConfig, get) => defu(val, {
|
$resolve: async (val: RuntimeConfig, get) => defu(val, {
|
||||||
public: await get('publicRuntimeConfig'),
|
public: {},
|
||||||
app: {
|
app: {
|
||||||
baseURL: (await get('app')).baseURL,
|
baseURL: (await get('app')).baseURL,
|
||||||
buildAssetsDir: (await get('app')).buildAssetsDir,
|
buildAssetsDir: (await get('app')).buildAssetsDir,
|
||||||
|
Loading…
Reference in New Issue
Block a user