|
@@ -84,9 +84,17 @@ const vueConfig = {
|
|
|
return args
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
+ // ·ÖÎö´ò°ü´óС
|
|
|
+ if (process.env.npm_config_report) {
|
|
|
+ config.plugin('webpack-bundle-analyzer')
|
|
|
+ .use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin)
|
|
|
+ .end();
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
css: {
|
|
|
+ sourceMap: false,
|
|
|
loaderOptions: {
|
|
|
less: {
|
|
|
modifyVars: {
|
|
@@ -108,8 +116,8 @@ const vueConfig = {
|
|
|
// If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
|
|
|
proxy: {
|
|
|
'/api': {
|
|
|
- // target: 'http://192.168.16.151:8503/qpls-md',
|
|
|
- target: 'http://p.iscm.360arrow.com/qpls-md',
|
|
|
+ target: 'http://192.168.16.105:8503/qpls-md',
|
|
|
+ // target: 'http://p.iscm.360arrow.com/qpls-md',
|
|
|
// ws: false,
|
|
|
ws: true,
|
|
|
changeOrigin: true,
|