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

ClassDescription
ExternalBundleWebpackPluginThe webpack plugin to build and emit the external bundle.
MainThreadRuntimeWrapperWebpackPluginThe main-thread runtime wrapper for external bundle.

Functions

FunctionDescription
defineExternalBundleRslibConfig(userLibConfig, encodeOptions)Get the rslib config for building Lynx external bundles.

Interfaces

InterfaceDescription
EncodeOptionsThe options for encoding the external bundle.
ExternalBundleWebpackPluginOptionsThe options for ExternalBundleWebpackPlugin.
MainThreadRuntimeWrapperWebpackPluginOptionsThe options of MainThreadRuntimeWrapperWebpackPlugin.

Variables

VariableDescription
defaultExternalBundleLibConfigThe default lib config for external bundle.
LAYERSThe Layer name of background and main-thread.
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.