Home > @lynx-js/external-bundle-rsbuild-plugin > pluginExternalBundle
Create a rsbuild plugin for loading external bundles.
This plugin wraps the externals-loading-webpack-plugin and automatically retrieves layer names from the react-rsbuild-plugin via api.useExposed.
Signature:
| Parameter | Type | Description |
|---|---|---|
| options | PluginExternalBundleOptions |
Returns:
RsbuildPlugin