Skip to content

Commit

Permalink
remove cli config
Browse files Browse the repository at this point in the history
  • Loading branch information
nitedani committed Feb 10, 2024
1 parent 6e73510 commit aa7a06c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vike/node/plugin/plugins/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ function resolveVikeConfig(vikeConfig: unknown): Plugin {
async function getConfigVikPromise(vikeConfig: unknown, config: ResolvedConfig): Promise<ConfigVikeResolved> {
const fromPluginOptions = (vikeConfig ?? {}) as ConfigVikeUserProvided
const fromViteConfig = ((config as Record<string, unknown>).vike ?? {}) as ConfigVikeUserProvided
const fromInlineCliConfig = ((config as Record<string, unknown>)._vike_cli ?? {}) as ConfigVikeUserProvided
const fromStemPackages = await findConfigVikeFromStemPackages(config.root)

const configs = [fromInlineCliConfig, fromPluginOptions, ...fromStemPackages, fromViteConfig]
const configs = [fromPluginOptions, ...fromStemPackages, fromViteConfig]

const extensions = resolveExtensions(configs, config)

Expand Down

0 comments on commit aa7a06c

Please sign in to comment.