Commit c0fb4733 authored by Simon Knox's avatar Simon Knox

only print errors and warnings from webpack dev server

parent a2aa5b7e
......@@ -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;
}
......
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