Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(mp\h5): 支持 output.clean 选项 #14069

Merged
merged 17 commits into from
Jun 29, 2023
Merged

feat(mp\h5): 支持 output.clean 选项 #14069

merged 17 commits into from
Jun 29, 2023

Conversation

bigmeow
Copy link
Member

@bigmeow bigmeow commented Jun 26, 2023

这个 PR 做了什么? (简要描述所做更改)

  • 删除原来的 needClearOutput 内部选项,统一 小程序、小程序插件开发、H5 三者默认编译前清空行为
  • 暴露 小程序端 和 h5端 的output.clean 选项,支持用户自定义“构建前是否清空(保留)编译文件” 行为
  • 新增了一个 env\mode 相关的测试用例

这个 PR 是什么类型? (至少选择一个)

这个 PR 涉及以下平台:

  • Web 平台(H5)
  • 小程序平台

@bigmeow bigmeow added this to the 3.6.9 milestone Jun 26, 2023
heiazu and others added 2 commits June 26, 2023 21:55
* feat: 对默认模版增加测试工具的配置

---------

Co-authored-by: zhuminghui2 <[email protected]>
Co-authored-by: xuanzebin <[email protected]>
@bigmeow bigmeow force-pushed the feat/build-clean branch from 31c67c9 to 462d4d4 Compare June 26, 2023 14:03
@bigmeow
Copy link
Member Author

bigmeow commented Jun 28, 2023

webpack4 兼容尚有问题

@bigmeow bigmeow force-pushed the feat/build-clean branch from c8680ad to 5fc99df Compare June 28, 2023 09:55
@bigmeow bigmeow merged commit 7cd9072 into next Jun 29, 2023
@bigmeow bigmeow deleted the feat/build-clean branch June 29, 2023 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

h5.output​.clean 属性不支持?
4 participants