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.
除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。