This commit is contained in:
syuilo 2018-03-15 15:11:05 +09:00
parent 0ca4c7c332
commit f02fcd0e2a

View file

@ -8,7 +8,7 @@ import chalk from 'chalk';
import jsonImporter from 'node-sass-json-importer';
const minifyHtml = require('html-minifier').minify;
const WebpackOnBuildPlugin = require('on-build-webpack');
const HardSourceWebpackPlugin = require('hard-source-webpack-plugin');
//const HardSourceWebpackPlugin = require('hard-source-webpack-plugin');
const ProgressBarPlugin = require('progress-bar-webpack-plugin');
import I18nReplacer from './src/common/build/i18n';
@ -99,7 +99,7 @@ module.exports = entries.map(x => {
//#endregion
const plugins = [
new HardSourceWebpackPlugin(),
//new HardSourceWebpackPlugin(),
new ProgressBarPlugin({
format: chalk` {cyan.bold yes we can} {bold [}:bar{bold ]} {green.bold :percent} {gray (:current/:total)} :elapseds`,
clear: false