Skip to content

Commit 94c0a67

Browse files
authored
docs: optimize announcement doc (#2398)
1 parent 0aa9c8d commit 94c0a67

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

apps/website-new/docs/en/blog/announcement.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,11 @@ loadRemote("app2/util").then((md)=>{
6060
md.add(1,2,3);
6161
});
6262
```
63-
### Unified Build Tool Runtime
63+
### Decoupling Webpack and Supporting Cross-Tool Sharing of Modules
6464

65-
The new version of Rspack and the Webpack plugin adopts a completely new Runtime architecture. This means that build tools no longer need to be tightly bound to the logic of the Runtime. Thanks to the new Runtime's plugin mechanism and preloading capabilities, developers can enjoy more flexible and efficient control over module loading. Additionally, other build tools can also implement this standard, which not only reduces maintenance costs but also helps to maintain consistency and standardization of the runtime environment.
65+
The new version of the Module Federation plugin adopts a completely new Runtime architecture. This change means that the build tool is no longer tightly coupled with the Runtime. Developers can now freely introduce artifacts produced by different build tools into their projects and flexibly assemble them for operation.
66+
67+
Currently, multiple build tools are compatible with it, including Webpack and Rspack. Other build tools can also implement Module Federation based on this standard, which will maintain consistency and standardization in the runtime.
6668

6769
### Type Hints
6870

-2.72 KB
Loading

apps/website-new/docs/zh/blog/announcement.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,12 @@ loadRemote("app2/util").then((md)=>{
5858
});
5959
```
6060

61-
### 统一 Module Federation 构建工具运行时
61+
### 解绑 Webpack,支持跨工具共享模块
6262

6363

64-
新版 Rspack 和 Webpack 的 Module Federation 插件采用了全新的 Runtime 架构。这意味着构建工具不必再与 Module Federation Runtime 的逻辑紧密绑定。得益于新 Runtime 的插件机制和预加载功能,开发者可以享受更加灵活和高效的模块加载控制。此外,其他构建工具也可以依据这一标准实现 Module Federation,这不仅降低了维护成本,还有助于保持运行时环境的一致性和标准化。
64+
新版 Module Federation 插件采用了全新的 Runtime 架构。这一变化使得构建工具不再需要与 Runtime 强绑定。开发者有望在项目中自由地引入由不同构建工具的产物,并灵活地组装它们进行运行。
65+
66+
目前,已经有多个构建工具与之兼容,包括 Webpack、Rspack 。其他构建工具也可以依据这一标准实现 Module Federation,这将保持运行时的一致性和标准化。
6567

6668
### 类型提示
6769

0 commit comments

Comments
 (0)