From dc4a850cacecb8c57923803363dac9bb61221bba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 6 Oct 2022 07:52:32 -0400 Subject: [PATCH] show progress --- install/package.json | 1 + webpack.prod.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/install/package.json b/install/package.json index 1824a75876..d2f62a4076 100644 --- a/install/package.json +++ b/install/package.json @@ -112,6 +112,7 @@ "pg-cursor": "2.7.3", "postcss": "8.4.14", "postcss-clean": "1.2.0", + "progress-webpack-plugin": "1.0.16", "prompt": "1.3.0", "ioredis": "5.2.2", "request": "2.88.2", diff --git a/webpack.prod.js b/webpack.prod.js index 4cecee7d9c..d5d5c8a1fe 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -2,11 +2,15 @@ const { merge } = require('webpack-merge'); const TerserPlugin = require('terser-webpack-plugin'); +const ProgressPlugin = require('progress-webpack-plugin'); const common = require('./webpack.common'); module.exports = merge(common, { mode: 'production', + plugins: [ + new ProgressPlugin(true), + ], optimization: { minimize: true, minimizer: [