From 5cfc1cd804cd2b76994821b662e2a06193006379 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 21 Jul 2025 10:47:45 +0800
Subject: [PATCH] 1
---
build/webpack.prod.conf.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js
index d9f99f6..96b92f0 100644
--- a/build/webpack.prod.conf.js
+++ b/build/webpack.prod.conf.js
@@ -46,17 +46,17 @@
filename: utils.assetsPath('css/[name].[contenthash].css'),
// Setting the following option to `false` will not extract CSS from codesplit chunks.
// Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.
- // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
+ // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
// increasing file size: https://github.com/vuejs-templates/webpack/issues/1110
allChunks: true,
}),
// Compress extracted CSS. We are using this plugin so that possible
// duplicated CSS from different components can be deduped.
- new OptimizeCSSPlugin({
- cssProcessorOptions: config.build.productionSourceMap
- ? { safe: true, map: { inline: false } }
- : { safe: true }
- }),
+ // new OptimizeCSSPlugin({
+ // cssProcessorOptions: config.build.productionSourceMap
+ // ? { safe: true, map: { inline: false } }
+ // : { safe: true }
+ // }),
// generate dist index.html with correct asset hash for caching.
// you can customize output by editing /index.html
// see https://github.com/ampedandwired/html-webpack-plugin
--
Gitblit v1.9.3