From f0dfc59828cf2b2f6e40f877e87415c16109d068 Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 4 Apr 2023 09:20:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B0=83=E6=95=B4web?= =?UTF-8?q?=E7=AB=AF=E5=86=85=E5=AD=98=E6=BA=A2=E5=87=BA=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index 03fb6769..378ef270 100644 --- a/vue.config.js +++ b/vue.config.js @@ -28,9 +28,8 @@ module.exports = { .add(path.resolve(__dirname, 'examples')) .add(path.resolve(__dirname, 'ui')) .end().use('babel').loader('babel-loader').tap(options => options); - config.output.chunkFilename('[name].js'); config.plugins.delete("friendly-errors"); - config.plugin("limit").use(require("webpack/lib/optimize/LimitChunkCountPlugin"), [{maxChunks: 10}]).tap(options => options) + config.plugin("limit").use(require("webpack/lib/optimize/LimitChunkCountPlugin"), [{maxChunks: 5}]).tap(options => options) }, devServer: { host: '0.0.0.0', //主机地址