Skip to content

Commit a2b14f3

Browse files
committed
minor #1183 Fix typo in error message (blankse)
This PR was merged into the main branch. Discussion ---------- Fix typo in error message There is a duplicate } sign. So this is printed in the error message. Commits ------- 773f4b4 Fix typo in error message
2 parents cee78ef + 773f4b4 commit a2b14f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WebpackConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ class WebpackConfig {
963963
const entryNamesOverlapMsg = 'The entry names between addEntry(), addEntries(), and addStyleEntry() must be unique.';
964964

965965
if (this.entries.has(name)) {
966-
throw new Error(`Duplicate name "${name}}" already exists as an Entrypoint. ${entryNamesOverlapMsg}`);
966+
throw new Error(`Duplicate name "${name}" already exists as an Entrypoint. ${entryNamesOverlapMsg}`);
967967
}
968968

969969
if (this.styleEntries.has(name)) {

0 commit comments

Comments
 (0)