|
|
|
|
@ -30,7 +30,7 @@ export default ({ mode, command }) => { |
|
|
|
|
].join(''); |
|
|
|
|
buildConfig.terserOptions = { |
|
|
|
|
compress: { |
|
|
|
|
drop_console: true, // 删除 console
|
|
|
|
|
drop_console: false, // 删除 console
|
|
|
|
|
drop_debugger: true, // 删除 debugger
|
|
|
|
|
}, |
|
|
|
|
format: { |
|
|
|
|
@ -62,13 +62,13 @@ export default ({ mode, command }) => { |
|
|
|
|
proxy: { |
|
|
|
|
'/api': { |
|
|
|
|
|
|
|
|
|
target: 'http://192.168.0.127:80',//外协本地
|
|
|
|
|
// target: 'http://192.168.0.127:80',//外协本地
|
|
|
|
|
// target: 'http://192.168.0.126:80',//举手本地
|
|
|
|
|
// target: 'http://192.168.0.115:80',//工作台消息本地
|
|
|
|
|
// target: 'http://192.168.1.5:82',
|
|
|
|
|
// target: "http://192.168.1.4:82",
|
|
|
|
|
// target: 'http://49.232.74.228:82',
|
|
|
|
|
// target: "http://192.168.0.7",
|
|
|
|
|
target: "http://192.168.0.2", |
|
|
|
|
// target: 'https://saber3.bladex.cn/api',
|
|
|
|
|
// target: 'http://49.232.74.228:82',
|
|
|
|
|
// target: "http:192.168.0.220:80",
|
|
|
|
|
|