Skip to content
Snippets Groups Projects
Commit a79e2cba authored by syuilo's avatar syuilo
Browse files

✌️

parent 84160653
No related branches found
No related tags found
No related merge requests found
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': {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment