Skip to content

Document webpack change: remove originModule from Dependencies and add parent module to ModuleGraph #2428

@webpack-bot

Description

@webpack-bot

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

See pull request: webpack/webpack#7861


What kind of change does this PR introduce?
refactor

Did you add tests for your changes?
existing tests

Does this PR introduce a breaking change?
yes

What needs to be documented once your changes are merged?
Some dependencies had originModule constructor argument and property. This is no longer the case. One can ask the ModuleGraph for the (origin) module via getParentModule.

Metadata

Metadata

Assignees

Labels

webpack5Docs for webpack 5

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions