From 49a193882f23b1e5fb5d26a08492ebea61858d2b Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Wed, 17 May 2017 20:10:17 +0100 Subject: [PATCH] Tidy up some build logs (#2197) --- config/webpack.config.prod.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/webpack.config.prod.js b/config/webpack.config.prod.js index 34848a972a3..96cc32f9481 100644 --- a/config/webpack.config.prod.js +++ b/config/webpack.config.prod.js @@ -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$/],