Skip to content

chore(deps): update sdk dep#488

Merged
gioboa merged 3 commits intomodule-federation:mainfrom
joshuaellis:chore/update-sdk-dep
Mar 17, 2026
Merged

chore(deps): update sdk dep#488
gioboa merged 3 commits intomodule-federation:mainfrom
joshuaellis:chore/update-sdk-dep

Conversation

@joshuaellis
Copy link
Copy Markdown
Contributor

Description

the sdk dependency now correctly tree-shakes node-esque code when a target is correctly set.

Related issues

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 16, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@module-federation/vite@488

commit: a3c9739

Copy link
Copy Markdown
Collaborator

@gioboa gioboa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is an error in the mfe/runtime code

[PARSE_ERROR] Error: Cannot use import statement outside a module
   ╭─[ node_modules/.pnpm/@module-federation+runtime-core@2.2.1/node_modules/@module-federation/runtime-core/dist/utils/load.cjs:1:1 ]
   │
 1 │ const require_logger = require('./logger.cjs');

@joshuaellis joshuaellis requested a review from gioboa March 17, 2026 04:29
Copy link
Copy Markdown
Collaborator

@gioboa gioboa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

multi framework tests:

E2E Tests

Copy link
Copy Markdown
Collaborator

@gioboa gioboa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me 👏 thanks @joshuaellis you rock!

@gioboa gioboa merged commit 8348ceb into module-federation:main Mar 17, 2026
20 checks passed
@joshuaellis joshuaellis deleted the chore/update-sdk-dep branch March 17, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: NodeJS vm code + 'eval' needlessly included in web bundle (Causing CSP errors)

2 participants