Commit 79d68383 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'silence-webpack' into 'master'

only print errors and warnings from webpack dev server

See merge request !9118
parents 82199c6c c0fb4733
...@@ -117,7 +117,8 @@ if (IS_PRODUCTION) { ...@@ -117,7 +117,8 @@ if (IS_PRODUCTION) {
if (IS_DEV_SERVER) { if (IS_DEV_SERVER) {
config.devServer = { config.devServer = {
port: DEV_SERVER_PORT, 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; config.output.publicPath = '//localhost:' + DEV_SERVER_PORT + config.output.publicPath;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment