This commit is contained in:
77
2024-07-06 17:31:47 +08:00
parent 166551d9b7
commit 94b7432da4
3 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ module.exports = {
assetsDir: 'static',
// 是否开启eslint保存检测有效值ture | false | 'error'
lintOnSave: process.env.NODE_ENV === 'development',
// 如果你不需要生产环境的 source map可以将其设置为 false 以加速生产环境构建。
// 如果你不需要生产环1境的 source map可以将其设置为 false 以加速生产环境构建。
productionSourceMap: false,
// webpack-dev-server 相关配置
devServer: {