From ed5140d2353a1d3721db73c5fcba19b67e22931d Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 17 Mar 2020 23:57:17 +0100 Subject: [PATCH] disable webpack's size warnings (#10746) Co-authored-by: techknowlogick --- webpack.config.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 241b721fa..57a41a11a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -202,14 +202,7 @@ module.exports = { ]), ], performance: { - hints: isProduction ? 'warning' : false, - maxEntrypointSize: 512000, - maxAssetSize: 512000, - assetFilter: (filename) => { - if (filename.endsWith('.map')) return false; - if (['js/swagger.js', 'js/highlight.js', 'fomantic/semantic.min.css'].includes(filename)) return false; - return true; - }, + hints: false, }, resolve: { symlinks: false,