-
Notifications
You must be signed in to change notification settings - Fork 397
fix(builder): failed to disable html via htmlPlugin: false #4239
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
Conversation
🦋 Changeset detectedLatest commit: 80419cd The changes in this PR will be included in the next version bump. This PR includes changesets to release 212 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #4239 +/- ##
==========================================
- Coverage 57.59% 56.33% -1.26%
==========================================
Files 672 662 -10
Lines 17794 18005 +211
Branches 3876 3936 +60
==========================================
- Hits 10249 10144 -105
- Misses 6934 7200 +266
- Partials 611 661 +50 ☔ View full report in Codecov by Sentry. |
Summary
The change in #3727 is not work as expected, because the config is merged by the
mergeConfig
method of@modern-js/core
, andmergeBuilderConfig
is not called.🤖 Generated by Copilot at 80419cd
This pull request fixes an issue with the html plugin that prevented it from being disabled when the
htmlPlugin
option was false. It adds a new logic for disabling the html plugin based on thehtmlPlugin
option, which can now be an array that contains false. It also adds tests and an integration test to verify the fix. It updates the changeset file to document the fix and the affected packages and versions.Details
🤖 Generated by Copilot at 80419cd
Related Issue
Checklist
pnpm run change
.