Skip to content

Other ways to split chunks for federated modules for application code? #554

@matthewbae

Description

@matthewbae

As of today, I know of two ways to split federated chunks:

  1. Using shared settings (only for packages/libraries)
  2. Using a dynamic import with next/dynamic

Is there any other way to split federated chunks for application code? I noticed that splitChunks is explicitly deleted on the childCompiler, so that isn't an option. I also don't know of a way to leverage shared settings for application code and not packages/libraries.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions