Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 committed Jan 27, 2025
1 parent a4fb71d commit 200c77d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1021,13 +1021,13 @@ const composeEntryConfig = async (
const entryName = getEntryName(file);

if (resolvedEntries[entryName]) {
const originalFile = resolvedEntries[entryName];

calcLcp &&
logger.warn(
`Duplicate entry ${color.cyan(entryName)} from ${color.cyan(
path.relative(root, file),
)} and ${color.cyan(path.relative(root, originalFile))}, which may lead to the incorrect output, please rename the file.`,
)} and ${color.cyan(
path.relative(root, resolvedEntries[entryName]),
)}, which may lead to the incorrect output, please rename the file.`,
);
}

Expand Down

0 comments on commit 200c77d

Please sign in to comment.