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) {
|
for (const file of webPackFiles) {
|
||||||
steps.push({
|
steps.push({
|
||||||
command: 'npx',
|
command: 'npx',
|
||||||
args: ['webpack', '--config', filePath(file), ...(watchMode ? ['--watch', '--silent'] : [])],
|
args: ['webpack', '--config', filePath(file), ...(watchMode ? ['--watch', '--stats', 'none'] : [])],
|
||||||
shell: true,
|
shell: true,
|
||||||
env: {
|
env: {
|
||||||
NODE_ENV: watchMode ? 'development' : 'production'
|
NODE_ENV: watchMode ? 'development' : 'production'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue