forked from mirror/misskey
✌️
This commit is contained in:
parent
841606536b
commit
a79e2cbaba
@ -1,5 +1,6 @@
|
|||||||
import * as webpack from 'webpack';
|
import * as webpack from 'webpack';
|
||||||
const ProgressBarPlugin = require('progress-bar-webpack-plugin');
|
const ProgressBarPlugin = require('progress-bar-webpack-plugin');
|
||||||
|
import chalk from 'chalk';
|
||||||
|
|
||||||
import consts from './consts';
|
import consts from './consts';
|
||||||
import hoist from './hoist';
|
import hoist from './hoist';
|
||||||
@ -10,7 +11,10 @@ const isProduction = env === 'production';
|
|||||||
|
|
||||||
export default (version, lang) => {
|
export default (version, lang) => {
|
||||||
const plugins = [
|
const plugins = [
|
||||||
new ProgressBarPlugin(),
|
new ProgressBarPlugin({
|
||||||
|
format: chalk` {cyan.bold yes we can} {bold [}:bar{bold ]} {green.bold :percent} {gray (:current/:total)} :elapseds`,
|
||||||
|
clear: false
|
||||||
|
}),
|
||||||
consts(lang),
|
consts(lang),
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
'process.env': {
|
'process.env': {
|
||||||
|
Loading…
Reference in New Issue
Block a user