From 89484ac1b090d4881038ac3258ac50aeef716752 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期四, 21 十一月 2024 17:34:41 +0800 Subject: [PATCH] feat:外购去除参数 --- manifest.json | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 48 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 5370f28..740cb7c 100644 --- a/manifest.json +++ b/manifest.json @@ -72,7 +72,8 @@ "minified": true, "postcss": false }, - "usingComponents": true + "usingComponents": true, + "libVersion":"latest" }, "mp-alipay": { "usingComponents": true @@ -86,5 +87,50 @@ "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, // 闇�瑕亀ebsocket 寮�鍚� + "pathRewrite" : { + "^/" : "/" + } + }, + "/gen" : { + "target" : "http://192.168.0.23:9999/", + "changeOrigin" : true, + "secure" : true, + "ws" : false, // 闇�瑕亀ebsocket 寮�鍚� + "pathRewrite" : { + "^/" : "" + } + }, + "/wrzs" : { + "target" : "http://192.168.0.23:9896/", + "changeOrigin" : true, + "secure" : true, + "ws" : true, // 闇�瑕亀ebsocket 寮�鍚� + "pathRewrite" : { + "^/wrzs" : "/wrzs" + } + } + } + }, + "optimization" : { + "treeShaking" : { + "enable" : true + } + }, + "publicPath" : "./" + } } \ No newline at end of file -- Gitblit v1.9.1