Skip to content

Commit de49beb

Browse files
authored
Merge pull request scratchfoundation#5962 from cwillisf/ci-no-progress
disable webpack progress plugin on CI
2 parents d74a5ca + 0647270 commit de49beb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "GraphicaL User Interface for creating and running Scratch 3.0 projects",
55
"main": "./dist/scratch-gui.js",
66
"scripts": {
7-
"build": "npm run clean && webpack --progress --colors --bail",
7+
"build": "npm run clean && webpack --colors --bail",
88
"clean": "rimraf ./build && mkdirp build && rimraf ./dist && mkdirp dist",
99
"deploy": "touch build/.nojekyll && gh-pages -t -d build -m \"Build for $(git log --pretty=format:%H -n1) [skip ci]\"",
1010
"prune": "./prune-gh-pages.sh",
@@ -16,7 +16,7 @@
1616
"test:lint": "eslint . --ext .js,.jsx",
1717
"test:unit": "jest test[\\\\/]unit",
1818
"test:smoke": "jest --runInBand test[\\\\/]smoke",
19-
"watch": "webpack --progress --colors --watch"
19+
"watch": "webpack --colors --watch"
2020
},
2121
"author": "Massachusetts Institute of Technology",
2222
"license": "BSD-3-Clause",

webpack.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ const base = {
9595
plugins: []
9696
};
9797

98+
if (!process.env.CI) {
99+
base.plugins.push(new webpack.ProgressPlugin());
100+
}
101+
98102
module.exports = [
99103
// to run editor examples
100104
defaultsDeep({}, base, {

0 commit comments

Comments
 (0)