From e66e5b24a6c904e009550d52facc81915753121f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=B9=89=E7=A1=80?= <205187370@qq.com> Date: Mon, 26 Feb 2024 03:15:56 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20vue.config.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 vue.config.js diff --git a/vue.config.js b/vue.config.js deleted file mode 100644 index f45fa78..0000000 --- a/vue.config.js +++ /dev/null @@ -1,11 +0,0 @@ -module.exports = { - chainWebpack: config => { - // 设置阈值(10KB),超过此大小的图片文件会被处理 - config.module.rule('images') - .test(/\.(png|jpe?g|gif|webp)(\?.*)?$/) - .use('url-loader') - .loader('url-loader') - .tap(options => Object.assign(options, { limit: 10240 })) - .end(); - } -}; \ No newline at end of file