Skip to content

Commit

Permalink
Fix custom config via rc file
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanbanov committed Apr 24, 2023
1 parent 428b0c7 commit bb6a33e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const loadConfig = async (
state.filePath && baseConfig.runtimeConfig !== false
? await resolveConfig(state.filePath, configFile)
: {}
return { ...DEFAULT_CONFIG, ...rcConfig, ...baseConfig }
return { ...DEFAULT_CONFIG, ...baseConfig, ...rcConfig }
}

loadConfig.sync = (
Expand All @@ -130,5 +130,5 @@ loadConfig.sync = (
state.filePath && baseConfig.runtimeConfig !== false
? resolveConfig.sync(state.filePath, configFile)
: {}
return { ...DEFAULT_CONFIG, ...rcConfig, ...baseConfig }
return { ...DEFAULT_CONFIG, ...baseConfig, ...rcConfig }
}

0 comments on commit bb6a33e

Please sign in to comment.