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.
Home > @lynx-js/lynx-bundle-rslib-config
@lynx-js/lynx-bundle-rslib-config is the package that provides the configurations for bundling Lynx bundle with Rslib.
|
Class |
Description |
|---|---|
|
The webpack plugin to build and emit the external bundle. | |
|
The main-thread runtime wrapper for external bundle. |
|
Function |
Description |
|---|---|
|
defineExternalBundleRslibConfig(userLibConfig, encodeOptions) |
Get the rslib config for building Lynx external bundles. |
|
Interface |
Description |
|---|---|
|
The options for encoding the external bundle. | |
|
Rslib config shape accepted by | |
|
The options for ExternalBundleWebpackPlugin. | |
|
Definition for a named externals preset. | |
|
The options of MainThreadRuntimeWrapperWebpackPlugin. |
|
Variable |
Description |
|---|---|
|
Built-in externals preset definitions. | |
|
The default lib config for external bundle. | |
|
Standard ReactLynx external mappings used by the built-in |
|
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(). | |
|
Output config accepted by Lynx external bundle builds. |

