✌️
This commit is contained in:
parent
a8fed0dff6
commit
366a7eafcf
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue