added minification
This commit is contained in:
@@ -49,7 +49,10 @@ const webpackConfig = {
|
|||||||
|
|
||||||
if (!config.development) {
|
if (!config.development) {
|
||||||
webpackConfig.optimization = {
|
webpackConfig.optimization = {
|
||||||
minimizer: [new TerserPlugin()],
|
minimizer: [new TerserPlugin({
|
||||||
|
minify: true,
|
||||||
|
parallel: true,
|
||||||
|
})],
|
||||||
|
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
cacheGroups: {
|
cacheGroups: {
|
||||||
|
|||||||
Reference in New Issue
Block a user