Home > @lynx-js/external-bundle-rsbuild-plugin > ReactLynxExternalsPresetOptions
#ReactLynxExternalsPresetOptions interface
Options for the built-in reactlynx externals preset.
Signature:
export interface ReactLynxExternalsPresetOptions #Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
ExternalValue['async'] |
(Optional) Choose asynchronous loading of the ReactLynx runtime bundle. The web runtime ( Only controls how the runtime is mounted; the web bundle is chosen for environments other than | ||
|
string |
(Optional) Emit the ReactLynx runtime bundle into the current build output and load it through the generated runtime public path. Prefer this over | ||
|
string |
(Optional) Package name that provides the ReactLynx runtime bundle. Override this when wrapping the plugin for another distribution, such as | ||
|
NonNullable<ExternalValue['url']> |
(Optional) Override the runtime bundle URL directly. Use this only when the ReactLynx runtime is hosted outside the current build output, for example on a CDN. Unlike |

