Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript

Output minimal stats to the console during build

Jason Miller411614b73132
diff --git a/webpack.config.js b/webpack.config.js
index 6ec40a2b..b48f3dae 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -31,6 +31,7 @@ module.exports = function (_, env) {
mode: isProd ? 'production' : 'development',
entry: './src/index',
devtool: isProd ? 'source-map' : 'inline-source-map',
+ stats: 'minimal',
output: {
filename: isProd ? '[name].[chunkhash:5].js' : '[name].js',
chunkFilename: '[name].chunk.[chunkhash:5].js',