Skip to content

splitChunksPlugin : Not able to create a common chunks between two laze loaded module #3667

Open
@rahultokase

Description

@rahultokase

Hi
I am having angular applicaiton. With default angular build, angular cli build is creating a common chunks for common code between two laze loaded modules and this common chunk is loaded lazily as well.
In the same angular application, if i use the custom webpack configuration with splitchunksPlugin,
I am not able to create a common chunks which is shared between two lazy loaded modules.

Please let me know how i can achieve the same.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions