This commit is contained in:
syuilo 2018-03-15 15:11:05 +09:00
parent a8fed0dff6
commit 366a7eafcf

View File

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