Skip to content

docs: add MergeDuplicateChunksPlugin page#8024

Merged
alexander-akait merged 1 commit into
webpack:mainfrom
shivxmsharma:docs/merge-duplicate-chunks-plugin
Mar 16, 2026
Merged

docs: add MergeDuplicateChunksPlugin page#8024
alexander-akait merged 1 commit into
webpack:mainfrom
shivxmsharma:docs/merge-duplicate-chunks-plugin

Conversation

@shivxmsharma
Copy link
Copy Markdown
Contributor

Summary

Adds a documentation page for MergeDuplicateChunksPlugin, which was made publicly accessible in webpack/webpack#18965. Previously this plugin was internal only — now that it is exported, users need documentation to understand how to configure it.

Closes #7467

What kind of change does this PR introduce?

docs

Did you add tests for your changes?

No — this is a documentation-only change.

Does this PR introduce a breaking change?

No.

If relevant, what needs to be documented once your changes are merged or what have you already documented?

This PR adds the full documentation for MergeDuplicateChunksPlugin:

  • A new page at src/content/plugins/merge-duplicate-chunks-plugin.mdx covering the stage option with a usage example
  • An entry added to the plugins index table at src/content/plugins/index.mdx

Use of AI

I used Claude (claude.ai) as a coding assistant to help structure the MDX page consistent with existing plugin pages. All technical content (plugin API, stage option behavior) was verified against the webpack source in webpack/webpack#18965. Final review and decisions were made by me.

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webpack-js-org Ready Ready Preview, Comment Mar 16, 2026 6:05am

Request Review

@alexander-akait alexander-akait merged commit b304f3d into webpack:main Mar 16, 2026
9 checks passed
@shivxmsharma shivxmsharma deleted the docs/merge-duplicate-chunks-plugin branch March 16, 2026 15:37
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.

Document webpack change: fix: merge duplicate chunks

2 participants