From 3179958d0ec70e59ca5de344f0fe5bd7a2172565 Mon Sep 17 00:00:00 2001 From: pengzhouhu Date: Mon, 2 Dec 2019 11:12:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=E4=BF=AE=E6=AD=A3=E5=BF=AB=E5=BA=94?= =?UTF-8?q?=E7=94=A8Manifest=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=EF=BC=8C?= =?UTF-8?q?=E5=9C=A8windows=E4=B8=8Bjson=E8=BD=AC=E6=8D=A2=E6=97=B6?= =?UTF-8?q?=E5=8F=8D=E6=96=9C=E6=9D=86=E2=80=98\\=E2=80=99=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E9=97=AE=E9=A2=98=20(#4979)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-mini-runner/src/plugins/MiniPlugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taro-mini-runner/src/plugins/MiniPlugin.ts b/packages/taro-mini-runner/src/plugins/MiniPlugin.ts index d58c16f9a834..f0bf69f69055 100644 --- a/packages/taro-mini-runner/src/plugins/MiniPlugin.ts +++ b/packages/taro-mini-runner/src/plugins/MiniPlugin.ts @@ -772,7 +772,7 @@ export default class MiniPlugin { pageConfigs: this.pageConfigs, quickappJSON: this.options.quickappJSON }) - const quickappJSONStr = JSON.stringify(quickappJSON) + const quickappJSONStr = JSON.stringify(quickappJSON).replace(/\\\\/g, '/') compilation.assets['./manifest.json'] = { size: () => quickappJSONStr.length, source: () => quickappJSONStr