From 673fc99aec903246b67d9ce7114d5c5ea29e7d19 Mon Sep 17 00:00:00 2001 From: Martin Reinhardt Date: Fri, 11 Nov 2016 11:34:33 +0100 Subject: [PATCH] fix(webpack): Reduce log output fixes #19 --- etc/karma.conf.js | 1 + etc/webpack.common.js | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/etc/karma.conf.js b/etc/karma.conf.js index 387e20f..cf16e33 100755 --- a/etc/karma.conf.js +++ b/etc/karma.conf.js @@ -66,6 +66,7 @@ module.exports = function (config) { webpackMiddleware: { stats: { + chunks:false, colors: true } }, diff --git a/etc/webpack.common.js b/etc/webpack.common.js index 8b8e810..dac8c97 100755 --- a/etc/webpack.common.js +++ b/etc/webpack.common.js @@ -34,6 +34,21 @@ const METADATA = { */ var config = { + stats: { + hash: false, + version: false, + timings: false, + assets: false, + chunks: false, + modules: false, + reasons: false, + children: false, + source: false, + errors: true, + errorDetails: true, + warnings: false, + publicPath: false + }, /* * Static metadata for index.html * @@ -86,7 +101,7 @@ var config = { * See: http://webpack.github.io/docs/configuration.html#module */ module: { - + // resolve https://github.com/holisticon/angular-common/issues/10 exprContextCritical: false,