Home > @lynx-js/external-bundle-rsbuild-plugin > PluginExternalBundleOptions

PluginExternalBundleOptions interface

Options for the external-bundle-rsbuild-plugin.

Signature:

export interface PluginExternalBundleOptions extends Pick<ExternalsLoadingPluginOptions, 'globalObject' | 'timeout'>

Properties

PropertyTypeDescription
externalBundleRoot?stringRoot directory that stores project-owned external bundles referenced by bundlePath.
externals?Record<string, PluginExternalConfig>Additional explicit externals to load.
externalsPresetDefinitions?ExternalsPresetDefinitionsDefinitions for custom externals presets enabled by externalsPresets.
externalsPresets?ExternalsPresetsPresets for external libraries.
globalObject?ExternalsLoadingPluginOptions['globalObject']Global object used to mount external libraries.
timeout?numberDefault timeout for loading external bundles.
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.