From a06b2feefddc047394c6cacf40945bbdca4cbd9a Mon Sep 17 00:00:00 2001 From: dataeaseShu <106045316+dataeaseShu@users.noreply.github.com> Date: Mon, 15 May 2023 13:42:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BC=80=E5=8F=91=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/vue.config.js b/frontend/vue.config.js index 4e993325df..f5298600b0 100644 --- a/frontend/vue.config.js +++ b/frontend/vue.config.js @@ -50,7 +50,7 @@ module.exports = { '@': resolve('src') } }, - output: { + output: process.env.NODE_ENV === 'development' ? {} : { filename: `js/[name].[contenthash:8].${pkg.version}.js`, publicPath: '/', chunkFilename: `js/[name].[contenthash:8].${pkg.version}.js`