build: upgrade webpack and related deps (#34990)

This commit is contained in:
Shelley Vohr 2022-08-03 16:42:50 +02:00 committed by GitHub
parent 2b96d06960
commit 3baf713648
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 631 additions and 2126 deletions

View file

@ -48,10 +48,10 @@ const main = async () => {
const child = cp.spawn('node', [
'./node_modules/webpack-cli/bin/cli.js',
'--config', `./build/webpack/${webpackTarget.config}`,
'--display', 'errors-only',
`--output-path=${tmpDir}`,
`--output-filename=${webpackTarget.name}.measure.js`,
'--env.PRINT_WEBPACK_GRAPH'
'--stats', 'errors-only',
'--output-path', tmpDir,
'--output-filename', `${webpackTarget.name}.measure.js`,
'--env', 'PRINT_WEBPACK_GRAPH'
], {
cwd: path.resolve(__dirname, '..')
});