GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(html): keep an end tag whose omission lets the adoption agency restructure the tree by aryanraj45 · Pull Request #21649 · webpack/webpack Conversation
|
|
| Name | Type |
|---|---|
| webpack | Patch |
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Sorry, something went wrong.
There was an error while loading. Please reload this page.
WalkthroughThe HTML minimizer now preserves end tags for special elements nested directly inside formatting elements. This prevents adoption-agency tree restructuring from changing serialized output. A regression fixture covers paragraph, list-item, preserved block, and inline cases. The test configuration builds and minimizes the HTML, then snapshots the emitted page. The changeset documents the correction. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: f6e232c5-bbb8-4f58-a899-138b1d259379
test/configCases/html/minimize-end-tag-in-formatting/__snapshots__/ConfigCacheTest.snap is excluded by !**/*.snaptest/configCases/html/minimize-end-tag-in-formatting/__snapshots__/ConfigTest.snap is excluded by !**/*.snap.changeset/157-html-minify-text-fixes.mdlib/html/syntax.jstest/configCases/html/minimize-end-tag-in-formatting/index.jstest/configCases/html/minimize-end-tag-in-formatting/page.htmltest/configCases/html/minimize-end-tag-in-formatting/test.config.jstest/configCases/html/minimize-end-tag-in-formatting/webpack.config.jsCodeRabbit considers these linked repositories for cross-repo context during reviews:
webpack/schema-utils (auto-detected)webpack/tapable (auto-detected)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Please fix reviews |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@alexander-akait done shortened the comment to two lines please take a view thanks :)) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #21649 +/- ## ========================================== + Coverage 94.23% 94.39% +0.16% ========================================== Files 628 628 Lines 79952 80279 +327 Branches 23676 23737 +61 ========================================== + Hits 75344 75783 +439 + Misses 4608 4496 -112
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Merging this PR will improve performance by 33.43%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Memory | benchmark "asset-modules-inline", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' |
397.6 KB | 274.8 KB | +44.67% |
| ⚡ | Memory | benchmark "future-defaults", scenario '{"name":"mode-production","mode":"production"}' |
10.5 MB | 8.5 MB | +23.07% |
Tip
Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.
Comparing aryanraj45:fix/html-end-tag-in-formatting-parent (49a2be2) with main (6412396)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
This PR is packaged and the instant preview is available (57f2f2e). Install it locally:
npm i -D webpack@https://pkg.pr.new/webpack@57f2f2e
yarn add -D webpack@https://pkg.pr.new/webpack@57f2f2e
pnpm add -D webpack@https://pkg.pr.new/webpack@57f2f2e |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.