Skip to content

Commit

Permalink
fix(config): 修复 config 新增默认 clean 配置项导致的微信小程序插件编译失败的问题 (NervJS#14262)
Browse files Browse the repository at this point in the history
Co-authored-by: xuanzebin <[email protected]>
  • Loading branch information
xuanzebin and xuanzebin authored Jul 31, 2023
1 parent d1fdb78 commit 71ddfc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/taro-cli/src/presets/platforms/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71ddfc5

Please sign in to comment.