Skip to content

Document webpack change: refactor chunk id plugins #2492

Open
@webpack-bot

Description

@webpack-bot

A pull request by @sokra was merged and maintainers requested a documentation change.

See pull request: webpack/webpack#7995


  • fixed sorting of assets in stats
  • NamedChunkIdsPlugin can now generate ids from requests
  • fixed a bug with 0 and compareSelect

What kind of change does this PR introduce?
refactoring

Did you add tests for your changes?
existing test

Does this PR introduce a breaking change?
yes, some plugin names changed

What needs to be documented once your changes are merged?

  • webpack.NamedChunksPlugin -> webpack.ids.NamedChunkIdsPlugin
  • webpack.optimize.OccurrenceChunkOrderPlugin -> webpack.ids.OccurrenceChunkIdsPlugin
  • Compilation.hooks.optimizeChunkOrder removed
  • Compilation.hooks.chunkIds added

Metadata

Metadata

Assignees

No one assigned

    Labels

    webpack5Docs for webpack 5

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions