mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-18 20:40:12 +02:00
show progress
This commit is contained in:
@@ -110,6 +110,7 @@
|
||||
"pg-cursor": "2.7.4",
|
||||
"postcss": "8.4.16",
|
||||
"postcss-clean": "1.2.0",
|
||||
"progress-webpack-plugin": "1.0.16",
|
||||
"prompt": "1.3.0",
|
||||
"ioredis": "5.2.3",
|
||||
"request": "2.88.2",
|
||||
|
||||
@@ -2,11 +2,15 @@
|
||||
|
||||
const { merge } = require('webpack-merge');
|
||||
const TerserPlugin = require('terser-webpack-plugin');
|
||||
const ProgressPlugin = require('progress-webpack-plugin');
|
||||
|
||||
const common = require('./webpack.common');
|
||||
|
||||
module.exports = merge(common, {
|
||||
mode: 'production',
|
||||
plugins: [
|
||||
new ProgressPlugin(true),
|
||||
],
|
||||
optimization: {
|
||||
minimize: true,
|
||||
minimizer: [
|
||||
|
||||
Reference in New Issue
Block a user