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.
除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。