For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/api/config-rsbuild-plugin.options.md.
这是开发预览网站。请访问正式文档 lynxjs.org

Home > @lynx-js/config-rsbuild-plugin > Options

Options interface

Options for the Lynx Config rsbuild plugin.

Signature:

export interface Options 

Properties

Property

Modifiers

Type

Description

compilerOptionsKeys?

string[]

(Optional) The keys of compiler options to set.

configKeys?

string[]

(Optional) The keys of config options to set.

dslPluginName2PkgName?

Record<string, string>

(Optional) A map from DSL plugin name to its package name.

upgradeRspeedyLink?

string

(Optional) The link to upgrade Rspeedy.

validate?

(input: unknown) => Config

(Optional) Custom validation function for the Lynx config.