Merge branch 'silence-webpack' into 'master'
only print errors and warnings from webpack dev server See merge request !9118
This commit is contained in:
commit
79d6838303
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue