Skip to content

Commit

Permalink
Tidy up some build logs (facebook#2197)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed May 17, 2017
1 parent 1cc7d63 commit 49a1938
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,13 @@ module.exports = {
// about it being stale, and the cache-busting can be skipped.
dontCacheBustUrlsMatching: /\.\w{8}\./,
filename: 'service-worker.js',
logger(message) {
if (message.indexOf('Total precache size is') === 0) {
// This message occurs for every build and is a bit too noisy.
return;
}
console.log(message);
},
minify: true,
navigateFallback: publicUrl + '/index.html',
staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/],
Expand Down

0 comments on commit 49a1938

Please sign in to comment.