Skip to content

Commit c1819ba

Browse files
authored
docs: add v1.2 ecosystem updates (#9068)
* docs: add v1.2 ecosystem updates * fix: spell * fix: spell * fix: spell
1 parent 285e8e3 commit c1819ba

File tree

4 files changed

+45
-3
lines changed

4 files changed

+45
-3
lines changed

.typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ extend-exclude = [
2222
JSerFeng = "JSerFeng"
2323

2424
[default.extend-words]
25+
Colum = "Colum"
2526
Nd = "Nd"
2627
fo = "fo"
2728
splitted = "splitted"

website/docs/en/blog/announcing-1-2.mdx

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,33 @@ The implementation of side effects optimization has been refactored to be simple
146146

147147
> See [perf: parallelize side effects optimization](https://github.com/web-infra-dev/rspack/pull/8781) for more details.
148148
149+
## Ecosystem
150+
151+
### Angular support
152+
153+
Nx team core member [Colum Ferry](https://github.com/Coly010) has brought complete Angular support to the Rspack ecosystem.
154+
155+
With the newly released `@ng-rsbuild/plugin-angular` and `@ng-rspack/build` packages, developers can now use Rspack or Rsbuild to build Angular applications, with faster build performance and module federation support.
156+
157+
Please visit [ng-rspack-build](https://github.com/Coly010/ng-rspack-build) for more information.
158+
159+
### Rsbuild v1.2
160+
161+
Rsbuild v1.2 has been released alongside Rspack v1.2, bringing several new features:
162+
163+
- Customize manifest file generation through [output.manifest.generate](https://rsbuild.dev/config/output/manifest#generate).
164+
- Specify files to retain in the dist directory using [cleanDistPath.keep](https://rsbuild.dev/config/output/clean-dist-path#keep).
165+
- [@rsbuild/plugin-assets-retry](https://rsbuild.dev/plugins/list/plugin-assets-retry) now generates smaller runtime code.
166+
167+
> For more details, see [Rsbuild v1.2.0](https://github.com/web-infra-dev/rsbuild/releases/tag/v1.2.0).
168+
149169
## Upgrade guide
150170

151171
### Upgrade SWC plugins
152172

153173
In Rspack v1.2, the Rust crate `swc_core` has been upgraded to `10.1.0`. Users of the SWC Wasm plugin need to ensure version consistency with `swc_core` being used, otherwise, it may lead to unforeseen issues.
154174

155-
For more details, see [SWC documentation](https://swc.rs/docs/plugin/selecting-swc-core).
175+
For more details, see [FAQ - SWC plugin version unmatched](https://swc.rs/docs/plugin/selecting-swc-core).
156176

157177
### Disable WarnCaseSensitiveModulesPlugin by default
158178

website/docs/zh/blog/announcing-1-2.mdx

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,33 @@ new rspack.SwcJsMinimizerRspackPlugin({
146146

147147
> 详见:[perf: parallelize side effects optimization](https://github.com/web-infra-dev/rspack/pull/8781)
148148
149+
## 生态系统
150+
151+
### Angular 支持
152+
153+
Nx 团队的核心成员 [Colum Ferry](https://github.com/Coly010) 为 Rspack 生态带来了完整的 Angular 支持。
154+
155+
通过新发布的 `@ng-rsbuild/plugin-angular``@ng-rspack/build` 包,开发者现在可以使用 Rspack 或 Rsbuild 来构建 Angular 应用,获得更快的构建性能和模块联邦等特性。
156+
157+
欢迎访问 [ng-rspack-build](https://github.com/Coly010/ng-rspack-build) 仓库了解详细信息。
158+
159+
### Rsbuild v1.2
160+
161+
Rsbuild v1.2 已经与 Rspack v1.2 同步发布,并带来了多项新特性:
162+
163+
- 通过 [output.manifest.generate](https://rsbuild.dev/config/output/manifest#generate) 来自定义 manifest 文件的生成。
164+
- 通过 [cleanDistPath.keep](https://rsbuild.dev/config/output/clean-dist-path#keep) 来指定在产物目录下保留的文件。
165+
- [@rsbuild/plugin-assets-retry](https://rsbuild.dev/plugins/list/plugin-assets-retry) 现在会生成更小的运行时代码。
166+
167+
> 详情请参考 [Rsbuild v1.2.0](https://github.com/web-infra-dev/rsbuild/releases/tag/v1.2.0)
168+
149169
## 升级指南
150170

151171
### 升级 SWC 插件
152172

153-
在 Rspack v1.2 中,Rust 包中 `swc_core` 已升级到 `10.1.0`。SWC Wasm 插件的用户需要确保与正在使用的 `swc_core` 版本一致,否则可能会导致意外问题。
173+
在 Rspack v1.2 中,Rust 依赖包 `swc_core` 的版本已升级到 `10.1.0`。SWC Wasm 插件的用户需要确保与正在使用的 `swc_core` 版本一致,否则可能会导致意外问题。
154174

155-
> 详情请参考 [SWC 文档](https://swc.rs/docs/plugin/selecting-swc-core)
175+
> 详情请参考 [常见问题 - SWC 插件版本不匹配](/errors/swc-plugin-version)
156176
157177
### WarnCaseSensitiveModules 默认关闭
158178

website/project-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ chenjiahan
2626
codeva
2727
commmonjs
2828
cpuprofile
29+
Colum
2930
CRACO
3031
cssextractrspackplugin
3132
dail

0 commit comments

Comments
 (0)