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