never run webpack with --progress on CI (#95967)

Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
Spencer 2021-03-31 14:04:42 -07:00 committed by GitHub
parent 1f5ee4c869
commit 16a176af98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@
},
"scripts": {
"build": "../../node_modules/.bin/webpack",
"kbn:watch": "../../node_modules/.bin/webpack --watch --progress",
"kbn:watch": "../../node_modules/.bin/webpack --watch",
"prettier": "../../node_modules/.bin/prettier --write './src/**/*.ts'"
},
"devDependencies": {

View file

@ -56,7 +56,7 @@ run(
'webpack-dev-server',
'--config',
webpackConfig,
...(process.stdout.isTTY ? ['--progress'] : []),
...(process.stdout.isTTY && !process.env.CI ? ['--progress'] : []),
'--hide-modules',
'--display-entrypoints',
'false',
@ -93,7 +93,7 @@ run(
'--config',
webpackConfig,
'--hide-modules',
...(process.stdout.isTTY ? ['--progress'] : []),
...(process.stdout.isTTY && !process.env.CI ? ['--progress'] : []),
],
{
...options,

View file

@ -44,7 +44,7 @@ run(
'webpack',
'--config',
'x-pack/plugins/canvas/storybook/webpack.dll.config.js',
'--progress',
...(process.stdout.isTTY && !process.env.CI ? ['--progress'] : []),
'--hide-modules',
'--display-entrypoints',
'false',