webpack / webpack.js.org

Repository for webpack documentation and more!
https://webpack.js.org
Creative Commons Attribution 4.0 International
2.21k stars 3.31k forks source link

Document webpack change: fix: merge duplicate chunks #7467

Open webpack-bot opened 5 days ago

webpack-bot commented 5 days ago

A pull request by @alexander-akait was merged and maintainers requested a documentation change.

See pull request: https://github.com/webpack/webpack/pull/18965


What kind of change does this PR introduce?

fixes https://github.com/webpack/webpack/issues/18898

Did you add tests for your changes?

WIP

Does this PR introduce a breaking change?

No

What needs to be documented once your changes are merged?

Now we export the plugin MergeDuplicateChunksPlugin, so developers can now use it with any stage and merge chunks after https://webpack.js.org/plugins/split-chunks-plugin/.

There is only one option - stage.