Skip to content

Workers is broken with Module Federation build #283

@ogonkov

Description

@ogonkov

When project is built with Module Federation plugin worker is throwing exception about missing federation object

TypeError: can't access property "bundlerRuntimeOptions", a.federation is undefined

Without our loader workers is created and working just fine. It is possible that error is caused by child compilation we used, because seems like federation runtime is not properly inserted to workers bundle.

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