From 10dbe32caa3af7170ae120de5193544d71b74f3c Mon Sep 17 00:00:00 2001 From: lwj <3529558005@qq.com> Date: Wed, 21 Aug 2024 16:26:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vue.config.js b/vue.config.js index 50fd481..5fa6595 100644 --- a/vue.config.js +++ b/vue.config.js @@ -23,6 +23,8 @@ module.exports = { outputDir: 'dist', // 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下) assetsDir: 'static', + + // 是否开启eslint保存检测,有效值:ture | false | 'error' lintOnSave: process.env.NODE_ENV === 'development', // 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。