chore(webpack): fix watch for webpack 5 (#9516)
This commit is contained in:
parent
6ec4f3e398
commit
4c9d7d5ccc
|
|
@ -129,7 +129,7 @@ const webPackFiles = [
|
|||
for (const file of webPackFiles) {
|
||||
steps.push({
|
||||
command: 'npx',
|
||||
args: ['webpack', '--config', filePath(file), ...(watchMode ? ['--watch', '--silent'] : [])],
|
||||
args: ['webpack', '--config', filePath(file), ...(watchMode ? ['--watch', '--stats', 'none'] : [])],
|
||||
shell: true,
|
||||
env: {
|
||||
NODE_ENV: watchMode ? 'development' : 'production'
|
||||
|
|
|
|||
Loading…
Reference in a new issue