This is the dev preview website. Check out the document at lynxjs.org

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

PluginExternalBundleOptions.externalsPresetDefinitions property

Definitions for custom externals presets enabled by externalsPresets.

Use this to add business-specific presets such as lynxUi, or to extend a built-in preset through extends.

Signature:

externalsPresetDefinitions?: ExternalsPresetDefinitions;