Browse Source

Update vue.config.js

lex-xin 5 years ago
parent
commit
985b9d5391
1 changed files with 2 additions and 0 deletions
  1. 2 0
      vue.config.js

+ 2 - 0
vue.config.js

@@ -3,6 +3,8 @@
 let targetUrl = 'http://testadm.dayaedu.com/'
 module.exports = {
     publicPath: './',
+    // 生产环境 sourceMap
+    productionSourceMap: false,
     // 调整内部的 webpack 配置。
     // 查阅 https://github.com/vuejs/vue-doc-zh-cn/vue-cli/webpack.md
     chainWebpack: config => {