From 841606536bd5f0c5dee534bf7147180aa97c92dd Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 25 Feb 2018 14:32:37 +0900 Subject: [PATCH] Show progress bar --- package.json | 1 + webpack/plugins/index.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/package.json b/package.json index e65bcb451..828435e22 100644 --- a/package.json +++ b/package.json @@ -138,6 +138,7 @@ "nprogress": "0.2.0", "os-utils": "0.0.14", "pictograph": "2.2.0", + "progress-bar-webpack-plugin": "^1.11.0", "prominence": "0.2.0", "proxy-addr": "2.0.3", "pug": "2.0.0-rc.4", diff --git a/webpack/plugins/index.ts b/webpack/plugins/index.ts index 1ae63cb43..b2ecb5c60 100644 --- a/webpack/plugins/index.ts +++ b/webpack/plugins/index.ts @@ -1,4 +1,5 @@ import * as webpack from 'webpack'; +const ProgressBarPlugin = require('progress-bar-webpack-plugin'); import consts from './consts'; import hoist from './hoist'; @@ -9,6 +10,7 @@ const isProduction = env === 'production'; export default (version, lang) => { const plugins = [ + new ProgressBarPlugin(), consts(lang), new webpack.DefinePlugin({ 'process.env': {