You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -182,7 +182,7 @@ First, set up Storybook with the Rslib project. You can refer to the [Storybook
182
182
183
183
2. Then set up the Storybook configuration file `.storybook/main.ts`, specify the stories and addons, and set the framework with corresponding framework integration.
Copy file name to clipboardExpand all lines: website/docs/en/guide/advanced/output-compatibility.mdx
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,8 +35,8 @@ And install [core-js-pure](https://www.npmjs.com/package/core-js-pure) as the ru
35
35
36
36
Configure the Babel plugin with polyfill options, set the [targets](https://babeljs.io/docs/options#targets) field to specify the target browser version.
plugins: [pluginReact(/** options here */)],// [!code highlight]
42
42
});
43
43
```
44
44
@@ -53,7 +53,7 @@ By default, Rsbuild uses the new JSX transform, which is `runtime: 'automatic'`.
53
53
54
54
To change the JSX transform, you can pass the [swcReactOptions](https://rsbuild.dev/plugins/list/plugin-react#swcreactoptionsruntime) option to the React plugin. For example, to use the classic runtime:
0 commit comments