Show progress bar

This commit is contained in:
syuilo 2018-02-25 14:32:37 +09:00
parent ddc1a2bfa0
commit 841606536b
2 changed files with 3 additions and 0 deletions

View File

@ -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",

View File

@ -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': {