chore(webpack): fix watch for webpack 5 (#9516)

This commit is contained in:
Joel Einbinder 2021-10-14 15:16:15 -04:00 committed by GitHub
parent 6ec4f3e398
commit 4c9d7d5ccc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'