Skip to content

Commit 9b170de

Browse files
committed
remove steps
1 parent f024df3 commit 9b170de

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

website/docs/en/guide/advanced/node-polyfill.mdx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ Normally, we don't need to use Node libs on the browser side. However, it is pos
99

1010
By using [@rsbuild/plugin-node-polyfill](https://github.com/rspack-contrib/rsbuild-plugin-node-polyfill), Node core libs polyfills are automatically injected into the browser-side, allowing you to use these modules on the browser side with confidence.
1111

12-
## Getting Start
13-
14-
<Steps>
12+
## Getting Started
1513

1614
### Install plugin
1715

@@ -21,7 +19,7 @@ Rslib uses [@rsbuild/plugin-node-polyfill](https://github.com/rspack-contrib/rsb
2119

2220
### Register plugin
2321

24-
Add the plugin into the plugins field.
22+
Then add the plugin into the plugins field.
2523

2624
```ts
2725
import { defineConfig } from '@rslib/core';
@@ -43,8 +41,6 @@ export default defineConfig({
4341

4442
With the following steps, every usage of the polyfill module will be replaced by the corresponding module in the `externals` field. Checkout the <SourceCode href="https://github.com/web-infra-dev/rslib/blob/main/tests/integration/node-polyfill/bundle-false/rslib.config.ts" /> of the example for more details.
4543

46-
</Steps>
47-
4844
###
4945

5046
## Configurations

0 commit comments

Comments
 (0)