Show progress bar

This commit is contained in:
syuilo 2018-02-25 14:32:37 +09:00
parent 7d31675f63
commit 1afa9d5812
2 changed files with 3 additions and 0 deletions

View file

@ -138,6 +138,7 @@
"nprogress": "0.2.0", "nprogress": "0.2.0",
"os-utils": "0.0.14", "os-utils": "0.0.14",
"pictograph": "2.2.0", "pictograph": "2.2.0",
"progress-bar-webpack-plugin": "^1.11.0",
"prominence": "0.2.0", "prominence": "0.2.0",
"proxy-addr": "2.0.3", "proxy-addr": "2.0.3",
"pug": "2.0.0-rc.4", "pug": "2.0.0-rc.4",

View file

@ -1,4 +1,5 @@
import * as webpack from 'webpack'; import * as webpack from 'webpack';
const ProgressBarPlugin = require('progress-bar-webpack-plugin');
import consts from './consts'; import consts from './consts';
import hoist from './hoist'; import hoist from './hoist';
@ -9,6 +10,7 @@ const isProduction = env === 'production';
export default (version, lang) => { export default (version, lang) => {
const plugins = [ const plugins = [
new ProgressBarPlugin(),
consts(lang), consts(lang),
new webpack.DefinePlugin({ new webpack.DefinePlugin({
'process.env': { 'process.env': {