From 71ddfc50a2774af81a7c8bb897d380a7a6567115 Mon Sep 17 00:00:00 2001 From: xuanzebin <38971117+xuanzebin@users.noreply.github.com> Date: Mon, 31 Jul 2023 10:24:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(config):=20=E4=BF=AE=E5=A4=8D=20config=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=BB=98=E8=AE=A4=20clean=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B9=E5=AF=BC=E8=87=B4=E7=9A=84=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=8F=92=E4=BB=B6=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98=20(#14262)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: xuanzebin --- packages/taro-cli/src/presets/platforms/plugin.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/taro-cli/src/presets/platforms/plugin.ts b/packages/taro-cli/src/presets/platforms/plugin.ts index 81be6abf8f20..d3ea0145b145 100644 --- a/packages/taro-cli/src/presets/platforms/plugin.ts +++ b/packages/taro-cli/src/presets/platforms/plugin.ts @@ -52,7 +52,8 @@ export default (ctx: IPluginContext) => { isBuildPlugin: false, isWatch, outputRoot: `${config.outputRoot}/miniprogram`, - platform + platform, + output: { ...(config.output || {}), clean: false } }, options: Object.assign({}, options, { platform