From 5ea4a8e86992aface14b68d2583a6369fb6211c6 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 4 Sep 2021 16:05:20 -0500 Subject: [PATCH] Webpack: suppress output --- webpack/development.js | 7 +------ webpack/production.js | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/webpack/development.js b/webpack/development.js index 63575edf5..05eb94649 100644 --- a/webpack/development.js +++ b/webpack/development.js @@ -83,12 +83,7 @@ module.exports = smp.wrap(merge(sharedConfig, { 'Access-Control-Allow-Origin': '*', }, overlay: true, - stats: { - entrypoints: false, - errorDetails: false, - modules: false, - moduleTrace: false, - }, + stats: 'errors-warnings', watchOptions: Object.assign( {}, { ignored: '**/node_modules/**' }, diff --git a/webpack/production.js b/webpack/production.js index 31a700955..1882cd8e9 100644 --- a/webpack/production.js +++ b/webpack/production.js @@ -14,7 +14,7 @@ const smp = new SpeedMeasurePlugin(); module.exports = smp.wrap(merge(sharedConfig, { mode: 'production', devtool: 'source-map', - stats: 'normal', + stats: 'errors-warnings', bail: true, optimization: { minimize: true,