> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Module: @lynx-js/lynx-bundle-rslib-config

[npm](https://www.npmjs.com/package/@lynx-js/lynx-bundle-rslib-config) · [Source](https://github.com/lynx-family/lynx-stack/tree/main/packages/rspeedy/lynx-bundle-rslib-config) · [Changelog](https://github.com/lynx-family/lynx-stack/blob/main/packages/rspeedy/lynx-bundle-rslib-config/CHANGELOG.md)

`@lynx-js/lynx-bundle-rslib-config` is the package that provides the configurations for bundling Lynx bundle with [Rslib](https://rslib.rs/).

## Classes

- [MainThreadRuntimeWrapperWebpackPlugin](/next/api/packages/lynx-bundle-rslib-config/classes/MainThreadRuntimeWrapperWebpackPlugin.md)

## Interfaces

- [EncodeOptions](/next/api/packages/lynx-bundle-rslib-config/interfaces/EncodeOptions.md)
- [ExposedLayers](/next/api/packages/lynx-bundle-rslib-config/interfaces/ExposedLayers.md)
- [ExternalBundleLibConfig](/next/api/packages/lynx-bundle-rslib-config/interfaces/ExternalBundleLibConfig.md)
- [ExternalObject](/next/api/packages/lynx-bundle-rslib-config/interfaces/ExternalObject.md)
- [ExternalsPresetDefinition](/next/api/packages/lynx-bundle-rslib-config/interfaces/ExternalsPresetDefinition.md)
- [MainThreadRuntimeWrapperWebpackPluginOptions](/next/api/packages/lynx-bundle-rslib-config/interfaces/MainThreadRuntimeWrapperWebpackPluginOptions.md)

## Type Aliases

- [Externals](/next/api/packages/lynx-bundle-rslib-config/type-aliases/Externals.md)
- [ExternalsPresetDefinitions](/next/api/packages/lynx-bundle-rslib-config/type-aliases/ExternalsPresetDefinitions.md)
- [ExternalsPresets](/next/api/packages/lynx-bundle-rslib-config/type-aliases/ExternalsPresets.md)
- [ExternalsPresetValue](/next/api/packages/lynx-bundle-rslib-config/type-aliases/ExternalsPresetValue.md)
- [OutputConfig](/next/api/packages/lynx-bundle-rslib-config/type-aliases/OutputConfig.md)

## Variables

- [builtInExternalsPresetDefinitions](/next/api/packages/lynx-bundle-rslib-config/variables/builtInExternalsPresetDefinitions.md)
- [defaultExternalBundleLibConfig](/next/api/packages/lynx-bundle-rslib-config/variables/defaultExternalBundleLibConfig.md)
- [LAYERS](/next/api/packages/lynx-bundle-rslib-config/variables/LAYERS.md)
- [reactLynxExternalsPreset](/next/api/packages/lynx-bundle-rslib-config/variables/reactLynxExternalsPreset.md)

## Functions

- [defineExternalBundleRslibConfig](/next/api/packages/lynx-bundle-rslib-config/functions/defineExternalBundleRslibConfig.md)
