We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b63510 commit aebdf0cCopy full SHA for aebdf0c
website/docs/zh/config/rsbuild/resolve.mdx
@@ -33,7 +33,7 @@ import { RsbuildDocBadge } from '@components/RsbuildDocBadge';
33
34
- `output.externals` 用于处理外部化模块的别名映射。外部化模块不会被打包到产物中,而是在运行时从外部源导入。
35
36
- 例如,如果你想将外部化模块 `react` 和 `react-dom` 替换为 `preact/compat`,可以这样配置:
+ 例如,如果你想将产物中的外部化模块 `react` 和 `react-dom` 替换为 `preact/compat`,可以这样配置:
37
38
```ts title="rslib.config.ts"
39
export default {
0 commit comments