初始化

wangxinyuan
lwj 2024-08-21 16:26:53 +08:00
parent 5ec106e45c
commit 10dbe32caa
1 changed files with 2 additions and 0 deletions

View File

@ -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 以加速生产环境构建。