summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2017-02-10 13:16:38 +1100
committerSimon Knox <psimyn@gmail.com>2017-02-11 09:43:41 +1100
commitc0fb47333a1336000a8ae605ef23572bb38d674a (patch)
tree9a79b2168665c3c88a01056a2104e8ec994f8bad
parenta2aa5b7e8e2731c4198cb3f2b9b0d276de709c78 (diff)
downloadgitlab-ce-c0fb47333a1336000a8ae605ef23572bb38d674a.tar.gz
only print errors and warnings from webpack dev serversilence-webpack
-rw-r--r--config/webpack.config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 00f448c1fbb..2ac779c8511 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -117,7 +117,8 @@ if (IS_PRODUCTION) {
if (IS_DEV_SERVER) {
config.devServer = {
port: DEV_SERVER_PORT,
- headers: { 'Access-Control-Allow-Origin': '*' }
+ headers: { 'Access-Control-Allow-Origin': '*' },
+ stats: 'errors-only',
};
config.output.publicPath = '//localhost:' + DEV_SERVER_PORT + config.output.publicPath;
}