Rspeedy logo
Rspeedy

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

external-bundle-rsbuild-plugin package

A rsbuild plugin for loading external bundles using externals-loading-webpack-plugin.

Functions

FunctionDescription
normalizeBundlePath(bundlePath)Normalize a public bundle path by removing leading slashes.
pluginExternalBundle(options)Create a rsbuild plugin for loading external bundles.

Interfaces

InterfaceDescription
ExternalsPresetContextContext passed to externals preset resolvers.
ExternalsPresetDefinitionDefinition for a named externals preset.
ExternalsPresetsPresets for external bundle dependencies.
PluginExternalBundleOptionsOptions for the external-bundle-rsbuild-plugin.
PluginExternalValueExternal bundle reference accepted by pluginExternalBundle.
ReactLynxExternalsPresetOptionsOptions for the built-in reactlynx externals preset.

Type Aliases

Type AliasDescription
ExternalsPresetDefinitionsAvailable externals preset definitions.
PluginExternalConfigExternal bundle shorthand accepted by pluginExternalBundle.

Variables

VariableDescription
builtInExternalsPresetDefinitionsBuilt-in externals preset definitions.
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.