From dedfed474c6a765c0fda79413932a8213fd22307 Mon Sep 17 00:00:00 2001 From: zhuzhe Date: Mon, 19 Nov 2018 17:56:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddev=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8Bweex=20publicPath=E7=AB=AF=E5=8F=A3=E4=B8=8D=E4=B8=80?= =?UTF-8?q?=E8=87=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/weex.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/weex.js b/lib/weex.js index c6b71a8..d8439ff 100644 --- a/lib/weex.js +++ b/lib/weex.js @@ -11,6 +11,11 @@ class WebpackWeexBuilder extends WebpackBaseBuilder(EasyWebpack.WebpackClientBui this.setDefine('process.env.PLATFORM', '"weex"'); } + setPort(port) { + super.setPort(port); + this.config.port += 1; + } + // weex 只能一个js文件,不能提取 setCommonsChunkLib() {