Skip to content

Commit 200c77d

Browse files
committed
chore: update
1 parent a4fb71d commit 200c77d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/src/config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,13 +1021,13 @@ const composeEntryConfig = async (
10211021
const entryName = getEntryName(file);
10221022

10231023
if (resolvedEntries[entryName]) {
1024-
const originalFile = resolvedEntries[entryName];
1025-
10261024
calcLcp &&
10271025
logger.warn(
10281026
`Duplicate entry ${color.cyan(entryName)} from ${color.cyan(
10291027
path.relative(root, file),
1030-
)} and ${color.cyan(path.relative(root, originalFile))}, which may lead to the incorrect output, please rename the file.`,
1028+
)} and ${color.cyan(
1029+
path.relative(root, resolvedEntries[entryName]),
1030+
)}, which may lead to the incorrect output, please rename the file.`,
10311031
);
10321032
}
10331033

0 commit comments

Comments
 (0)