File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 27
27
"optimize" : " node the-magic/build/optimize-images.js" ,
28
28
"time" : " node the-magic/build/get-time.js" ,
29
29
"start" : " npm run gulp && node the-magic/build/server" ,
30
- "build:client" : " cross-env NODE_ENV=production webpack --config the-magic/build/webpack.client.config.js --progress --hide-modules" ,
31
- "build:server" : " cross-env NODE_ENV=production webpack --config the-magic/build/webpack.server.config.js --progress --hide-modules" ,
30
+ "build:client" : " cross-env NODE_ENV=production webpack --config the-magic/build/webpack.client.config.js --no-info --hide-modules" ,
31
+ "build:server" : " cross-env NODE_ENV=production webpack --config the-magic/build/webpack.server.config.js --no-info --hide-modules" ,
32
32
"build" : " rimraf dist && npm run gulp && npm run build:client && npm run build:server && cross-env NODE_ENV=production node the-magic/build/build.js"
33
33
},
34
34
"dependencies" : {
Original file line number Diff line number Diff line change @@ -142,9 +142,6 @@ module.exports = {
142
142
new FriendlyErrorsPlugin ( {
143
143
clearConsole : true
144
144
} ) ,
145
- new ProgressBarPlugin ( {
146
- format : " [:bar] " + ":percent" . bold + " (:msg)"
147
- } ) ,
148
145
...isProd ? [
149
146
new CompressionWebpackPlugin ( {
150
147
filename : "[path].gz[query]" ,
@@ -153,6 +150,10 @@ module.exports = {
153
150
threshold : 10240 ,
154
151
minRatio : 0.8
155
152
} ) ,
156
- ] : [ ]
153
+ ] : [
154
+ new ProgressBarPlugin ( {
155
+ format : " [:bar] " + ":percent" . bold + " (:msg)"
156
+ } ) ,
157
+ ]
157
158
]
158
159
}
You can’t perform that action at this time.
0 commit comments