> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Type Alias: PluginExternalConfig

> **PluginExternalConfig** = [`PluginExternalValue`](/next/api/packages/external-bundle-rsbuild-plugin/interfaces/PluginExternalValue.md) | `string`

External bundle shorthand accepted by `pluginExternalBundle`.

When a string is provided, it is treated as `bundlePath` and the plugin will
infer:

- `libraryName`: the external request key
- `background.sectionPath`: the external request key
- `mainThread.sectionPath`: `${request}__main-thread`
