Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix(schema): initialise runtimeConfig.public with empty object (#9050)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Nov 16, 2022
1 parent 9ab069b commit 38d7f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/schema/src/config/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 38d7f61

Please sign in to comment.