Skip to content

Commit 7a87c0d

Browse files
Update website/docs/en/config/rsbuild/resolve.mdx
Co-authored-by: neverland <[email protected]>
1 parent f7052cd commit 7a87c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/en/config/rsbuild/resolve.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Create aliases to import or require certain modules, same as the [resolve.alias]
1212

1313
It is important to note that `resolve.alias` differs from [output.externals](/config/rsbuild/output#outputexternals) in the following ways:
1414

15-
- `resolve.alias` is used when bundling target code into the product (when [lib.bundle](/config/lib/bundle) is set to `true`). It allows you to replace the target module you want to include in the output with another module.
15+
- `resolve.alias` allows you to replace the target module you want to include in the output bundles with another module. It only works if [lib.bundle](/config/lib/bundle) is set to `true`.
1616

1717
For example, if you want to replace `lodash` with `lodash-es` in a bundled CLI application, you can configure it as follows:
1818

0 commit comments

Comments
 (0)