Skip to content

Migrating from Module Federation to Native Federation #1065

@GabrielAPineiro

Description

@GabrielAPineiro

For which library do you need help?

native-federation

Question

Hi, I have a monorepo with nx, and I'm trying to move from module-federation to native, but I'm getting an issue while running my host locally. I'm seeing this error in the browser console
chunk-XX5BJUXQ.js:57 SyntaxError: Unexpected token '{' (at ${sourceUrl};:6353:2)`
Any ideas why this could be happening? I tried to skip angular/compiler, but I have some references to core and cdk /testing in my code, so not sure I can do that.

"@angular-architects/native-federation": "20.3.1",
"@angular/animations": "20.3.16",
"@angular/cdk": "20.2.14",
"@angular/common": "20.3.16",
"@angular/compiler": "20.3.16",
"@angular/core": "20.3.16",
"@angular/forms": "20.3.16",
"@angular/platform-browser": "20.3.16",
"@angular/platform-browser-dynamic": "20.3.16",
"@angular/router": "20.3.16",

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