Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/docs/en/guide/optimization/build-performance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ While Rsbuild delivers excellent build performance out of the box, certain JavaS

- [@rsbuild/plugin-babel](/plugins/list/plugin-babel): This plugin uses Babel. We recommend using the more performant [SWC](/guide/configuration/swc) for code transformation instead.
- [@rsbuild/plugin-less](/plugins/list/plugin-less): The Less compiler has relatively poor performance. Consider using [@rsbuild/plugin-sass](/plugins/list/plugin-sass) or other performant CSS solutions instead.
- [@rsbuild/plugin-type-check](https://github.com/rstackjs/rsbuild-plugin-type-check): The default TypeScript-based type-checking approach has relatively poor performance. We recommend enabling experimental [typescript-go support](https://github.com/rstackjs/rsbuild-plugin-type-check#typescript-go-support) to improve type-checking performance.
- [@rsbuild/plugin-type-check](https://github.com/rstackjs/rsbuild-plugin-type-check): Use TypeScript 7 or later for faster type checking. See [TypeScript 7+ support](https://github.com/rstackjs/rsbuild-plugin-type-check#typescript-7-support) for details.
Comment thread
chenjiahan marked this conversation as resolved.
- [terser-webpack-plugin](https://www.npmjs.com/package/terser-webpack-plugin) or [minimizer-webpack-plugin](https://www.npmjs.com/package/minimizer-webpack-plugin): You can replace Terser with faster minimizers like Rsbuild's built-in [SWC](/guide/configuration/swc) minifier.

### Optimize Tailwind CSS
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh/guide/optimization/build-performance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Rsbuild 提供了 [performance.buildCache](/config/performance/build-cache) 配

- [@rsbuild/plugin-babel](/plugins/list/plugin-babel):该插件基于 Babel 实现,建议优先使用性能更优的 [SWC](/guide/configuration/swc) 进行代码转换。
- [@rsbuild/plugin-less](/plugins/list/plugin-less):Less 编译器性能相对较差,推荐使用 [@rsbuild/plugin-sass](/plugins/list/plugin-sass) 或其他高性能的 CSS 方案。
- [@rsbuild/plugin-type-check](https://github.com/rstackjs/rsbuild-plugin-type-check):默认使用的基于 TypeScript 的类型检查方式性能相对较差,推荐开启实验性的 [typescript-go 支持](https://github.com/rstackjs/rsbuild-plugin-type-check#typescript-go-support),提升类型检查性能
- [@rsbuild/plugin-type-check](https://github.com/rstackjs/rsbuild-plugin-type-check):推荐使用 TypeScript 7 或更高版本以提升类型检查性能,详见 [TypeScript 7+ 支持](https://github.com/rstackjs/rsbuild-plugin-type-check#typescript-7-support)。
- [terser-webpack-plugin](https://www.npmjs.com/package/terser-webpack-plugin) 或 [minimizer-webpack-plugin](https://www.npmjs.com/package/minimizer-webpack-plugin):可以将 Terser 替换为更快的压缩工具,例如使用 Rsbuild 内置的 [SWC](/guide/configuration/swc)。

### 优化 Tailwind CSS
Expand Down