Skip to content

Commit

Permalink
Update configure-rsbuild.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 authored Oct 22, 2024
1 parent e90b5d1 commit 7ccbd78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/zh/guide/basic/configure-rsbuild.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Rsbuild 提供了丰富的配置项,并为每个配置项预设了一个通用的默认值,它可以满足大部分使用场景。因此,在大多数情况下,你不需要声明任何 Rsbuild 配置,直接开箱使用即可。

如果你需要定制一些构建行为,那么可以这些配置项
如果你需要定制一些构建行为,那么可以使用这些配置项

## 配置结构

Expand Down Expand Up @@ -200,7 +200,7 @@ export default defineConfig(async ({ env, command }) => {

## 合并配置

你可以使用 `@rspack/core` 导出的 [mergeRsbuildConfig](/api/javascript-api/core#mergersbuildconfig) 函数来合并多个配置。
你可以使用 `@rsbuild/core` 导出的 [mergeRsbuildConfig](/api/javascript-api/core#mergersbuildconfig) 函数来合并多个配置。

```ts title="rsbuild.config.ts"
import { defineConfig, mergeRsbuildConfig } from '@rsbuild/core';
Expand Down

0 comments on commit 7ccbd78

Please sign in to comment.