Skip to content

Conversation

@2heal1
Copy link
Member

@2heal1 2heal1 commented Jan 5, 2024

Description

  • Refactor runtime (@module-federation/runtime)
    • import plugin system
    • support hook extend
    • view details README
  • Add @module-federation/webpack-bundler-runtime
    • Extract the build runtime and combine it with the internal runtime
    • Used with webpack/rspack
    • view details README
  • Add @module-federation/runtime-tools
    • Module federation runtime package collection. Users can just install it instead of installing all the packages separately
    • view details README

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

ScriptedAlchemy and others added 30 commits December 3, 2023 19:15
ensure share via expose is always selected
backporting async boundary design from vmok and modernJS
Flag to allow webpack to startup without needing a async boundary or dynamic import
backporting async bounday that uses runtime requirements and startup encapsulation with reexporting
…work outputs

If esm output, use top level await to hold eager boundary on exports, then return sync exports as
normal
@zhoushaw
Copy link
Collaborator

zhoushaw commented Jan 8, 2024

image

The instance is not placed globally after loading the remote module, which looks abnormal

@zhoushaw
Copy link
Collaborator

zhoushaw commented Jan 8, 2024

image

Why are there so many warn examples of projects

@zhoushaw zhoushaw closed this Jan 8, 2024
@zhoushaw zhoushaw reopened this Jan 8, 2024
@zhoushaw
Copy link
Collaborator

zhoushaw commented Jan 8, 2024

There seems to be a lack of testing of version-first sharing policies

@2heal1 2heal1 changed the title WIP: feat: module federation runtime WIP: feat: refactor module federation runtime Jan 8, 2024
@2heal1 2heal1 changed the title WIP: feat: refactor module federation runtime feat: refactor module federation runtime Jan 8, 2024
2heal1 and others added 4 commits January 8, 2024 19:02
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Zhou xiao <codingzx@gmail.com>
Co-authored-by: zhouxiao.shaw <zhouxiao.shaw@bytdance.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@2heal1 2heal1 merged commit 98eb40d into main Jan 8, 2024
@2heal1 2heal1 deleted the canary branch January 8, 2024 12:40
@2heal1 2heal1 mentioned this pull request Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants