Skip to content

Commit

Permalink
fix(core): compilation.input not work when use build() #1265
Browse files Browse the repository at this point in the history
  • Loading branch information
yejimeiming committed Apr 29, 2024
1 parent ece2c8d commit ee02a1f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/core/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,8 @@ async function getDefaultConfig(
mode?: CompilationMode,
isHandleServerPortConflict = true
) {
const mergedUserConfig = mergeInlineCliOptions({}, inlineOptions);

const resolvedUserConfig = await resolveMergedUserConfig(
mergedUserConfig,
inlineOptions,
undefined,
inlineOptions.mode ?? mode
);
Expand Down

0 comments on commit ee02a1f

Please sign in to comment.