| | |
| | | "minified": true, |
| | | "postcss": false |
| | | }, |
| | | "usingComponents": true |
| | | "usingComponents": true, |
| | | "libVersion":"latest" |
| | | }, |
| | | "mp-alipay": { |
| | | "usingComponents": true |
| | |
| | | "uniStatistics": { |
| | | "enable": false |
| | | }, |
| | | "vueVersion": "2" |
| | | "vueVersion": "2", |
| | | "h5" : { |
| | | "router" : { |
| | | "base" : "./", |
| | | "mode" : "hash" |
| | | }, |
| | | "devServer" : { |
| | | "port" : 8080, |
| | | "disableHostCheck" : true, |
| | | "proxy" : { |
| | | "/admin" : { |
| | | "target" : "http://192.168.0.23:9999/", |
| | | "changeOrigin" : true, |
| | | "secure" : true, |
| | | "ws" : false, // 需要websocket 开启 |
| | | "pathRewrite" : { |
| | | "^/" : "/" |
| | | } |
| | | }, |
| | | "/gen" : { |
| | | "target" : "http://192.168.0.23:9999/", |
| | | "changeOrigin" : true, |
| | | "secure" : true, |
| | | "ws" : false, // 需要websocket 开启 |
| | | "pathRewrite" : { |
| | | "^/" : "" |
| | | } |
| | | }, |
| | | "/wrzs" : { |
| | | "target" : "http://192.168.0.23:9896/", |
| | | "changeOrigin" : true, |
| | | "secure" : true, |
| | | "ws" : true, // 需要websocket 开启 |
| | | "pathRewrite" : { |
| | | "^/wrzs" : "/wrzs" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "optimization" : { |
| | | "treeShaking" : { |
| | | "enable" : true |
| | | } |
| | | }, |
| | | "publicPath" : "./" |
| | | } |
| | | } |