From a79e2cbabae3e36fef161d7a8accf13792c7d02b Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 25 Feb 2018 15:50:25 +0900 Subject: [PATCH] :v: --- webpack/plugins/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webpack/plugins/index.ts b/webpack/plugins/index.ts index b2ecb5c60..b97cde231 100644 --- a/webpack/plugins/index.ts +++ b/webpack/plugins/index.ts @@ -1,5 +1,6 @@ import * as webpack from 'webpack'; const ProgressBarPlugin = require('progress-bar-webpack-plugin'); +import chalk from 'chalk'; import consts from './consts'; import hoist from './hoist'; @@ -10,7 +11,10 @@ const isProduction = env === 'production'; export default (version, lang) => { const plugins = [ - new ProgressBarPlugin(), + new ProgressBarPlugin({ + format: chalk` {cyan.bold yes we can} {bold [}:bar{bold ]} {green.bold :percent} {gray (:current/:total)} :elapseds`, + clear: false + }), consts(lang), new webpack.DefinePlugin({ 'process.env': {