Skip to content

Commit 633673c

Browse files
committed
docs: 修正配置文档中的徽章组件,使其在Markdown中正确显示。
1 parent e375783 commit 633673c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/en/config/config.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ window.MY_APP_CONFIG = {
154154
};
155155
```
156156

157-
### Custom Global Variable Name `<Badge type="tip" text="^0.14.4" />`
157+
### Custom Global Variable Name <Badge type="tip" text="^0.14.4" />
158158

159159
```typescript
160160
// .winrc.ts
@@ -200,7 +200,7 @@ The base configuration allows you to set a route prefix for your application. Fo
200200

201201
> Note: The base configuration must be set at build time and cannot be changed without rebuilding, as this value is inlined in the client bundle.
202202
203-
## banner `<Badge type="tip" text=">=0.15.0" />`
203+
## banner <Badge type="tip" text=">=0.15.0" />
204204

205205
- **Type**: `object | boolean | undefined`
206206
- **Default**: `undefined`
@@ -871,7 +871,7 @@ export default {
871871
`rsbuild` reuses this configuration just to maintain configuration consistency, corresponding to [include](https://rsbuild.dev/config/source/include). It also corresponds to the `include` configuration option of `@rsbuild/plugin-babel`.
872872
:::
873873

874-
## extraBabelExcludes `<Badge type="tip" text=">=0.14.6" />`
874+
## extraBabelExcludes <Badge type="tip" text=">=0.14.6" />
875875

876876
- **Type**: `Array<string | RegExp>`
877877
- **Default**: `[]`
@@ -1736,7 +1736,7 @@ Configure webpack's publicPath and rsbuild's [output.assetPrefix](https://rsbuil
17361736

17371737
Configure routes. For more information, see [Configure Routes](../guides/routes#configure-routes)
17381738

1739-
## rsbuild `<Badge type="tip" text=">=0.9.4" />`
1739+
## rsbuild <Badge type="tip" text=">=0.9.4" />
17401740

17411741
- **Type**:
17421742
`{ removeConsole: boolean | ConsoleType[], lightningcssLoader: boolean | Rspack.LightningcssLoaderOptions | Function, config: RsbuildConfig }`
@@ -1746,7 +1746,7 @@ Switch to rsbuild build packaging tool. Related configuration options for rsbuil
17461746

17471747
- removeConsole: Whether to automatically remove `console.[methodName]` from code during production build phase. Defaults to `false`. When removeConsole is set to true, all types of `console.[methodName]` will be removed.
17481748
- lightningcssLoader: See [lightningcssLoader](https://rsbuild.dev/config/tools/lightningcss-loader). Defaults to `true`.
1749-
- config(`<Badge type="tip" text=">=0.11.20" />`):
1749+
- config(<Badge type="tip" text=">=0.11.20" />):
17501750
Complete and official [rsbuild config](https://rsbuild.dev/guide/basic/configure-rsbuild), can be used to override other configurations with higher priority than other configurations. This configuration is made available considering potential future custom rsbuild configurations.
17511751

17521752
```js
@@ -2040,7 +2040,7 @@ export default {
20402040

20412041
Configure global page title, currently only supports static Title.
20422042

2043-
## transformImport `<Badge type="tip" text="^0.14.3" />`
2043+
## transformImport <Badge type="tip" text="^0.14.3" />
20442044

20452045
- **Type:**
20462046

0 commit comments

Comments
 (0)