Sfoglia il codice sorgente

Update vue.config.js

lex-xin 5 anni fa
parent
commit
985b9d5391
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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 => {