Skip to content

3.5.0 introduces breaking change in ConcatenatedModule public API (modules property was removed) #5477

@kisenka

Description

@kisenka

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
ConcatenatedModule.modules property was removed (link to commit).
In my webpack loader I need to extract original modules from ConcatenatedModule to replace some values in them. Now with 3.5 I use private property _orderedConcatenationList which potentially can be removed or renamed in future.

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
I suggest to return this property for backwards compatibility. It can be a getter for instance.

If this is a feature request, what is motivation or use case for changing the behavior?

Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
webpack version: 3.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions