Merge pull request #6141 from dataease/pr@dev@fix_source_map

fix: 前端源码泄漏风险
This commit is contained in:
fit2cloud-chenyw 2023-09-13 21:46:54 +08:00 committed by GitHub
commit 3705f0091d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ const name = defaultSettings.title || 'vue Admin Template' // page title
const port = process.env.port || process.env.npm_config_port || 9528 // dev port
const parallel = process.env.NODE_ENV === 'development'
module.exports = {
productionSourceMap: true,
productionSourceMap: false,
parallel,
// 使用mock-server
devServer: {