Skip to content

Commit

Permalink
chore: fix webpack command name issue (#14067)
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga authored Jun 25, 2024
1 parent ceda65e commit 420ccdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/hooks/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ exports.init = (logger, config, cli) => {
cli.on('cli:command-loaded', (hookData) => {
const command = hookData.command;
commandName = command.name;
if (typeof command.name === 'function') {
commandName = command.name();
}
});

cli.on('cli:post-validate', () => {
Expand Down

0 comments on commit 420ccdc

Please sign in to comment.