Home > @lynx-js/lynx-bundle-rslib-config
#lynx-bundle-rslib-config package
@lynx-js/lynx-bundle-rslib-config is the package that provides the configurations for bundling Lynx bundle with Rslib.
#Classes
|
Class |
Description |
|---|---|
|
The webpack plugin to build and emit the external bundle. | |
|
The main-thread runtime wrapper for external bundle. |
#Functions
|
Function |
Description |
|---|---|
|
defineExternalBundleRslibConfig(userLibConfig, encodeOptions) |
Get the rslib config for building Lynx external bundles. |
#Interfaces
|
Interface |
Description |
|---|---|
|
The options for encoding the external bundle. | |
|
Rslib config shape accepted by | |
|
The options for ExternalBundleWebpackPlugin. | |
|
Object form of an external mapping. Use this instead of the plain global-name form when the external library is mounted asynchronously (as a Promise) by the consuming application, i.e. the matching | |
|
Definition for a named externals preset. | |
|
The options of MainThreadRuntimeWrapperWebpackPlugin. |
#Variables
|
Variable |
Description |
|---|---|
|
Built-in externals preset definitions. | |
|
The default lib config for external bundle. | |
|
Standard ReactLynx external mappings used by the built-in |
#Type Aliases
|
Type Alias |
Description |
|---|---|
|
External module to global-name mappings used when building Lynx external bundles. | |
|
Available externals preset definitions. | |
|
Enabled externals presets. Preset names are resolved from the built-in preset definitions plus any custom definitions passed to defineExternalBundleRslibConfig(). | |
|
How an externals preset is enabled.
| |
|
Output config accepted by Lynx external bundle builds. |

