Skip to content

Commit

Permalink
chore: add name in dup flag
Browse files Browse the repository at this point in the history
  • Loading branch information
anshumanv committed Aug 20, 2020
1 parent 23fcebf commit df08e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webpack-cli/lib/utils/cli-flags.js
Expand Up @@ -33,7 +33,7 @@ let flagsFromCore =
: [];

// duplicate flags
const duplicateFlags = ['entry', 'mode', 'stats', 'watch', 'target', 'devtool'];
const duplicateFlags = ['entry', 'mode', 'stats', 'watch', 'target', 'devtool', 'name'];

flagsFromCore = flagsFromCore.filter((flag) => !duplicateFlags.includes(flag.name));

Expand Down

0 comments on commit df08e4a

Please sign in to comment.