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

# Interface: Options

Lynx Config Rsbuild 插件的选项。

## Properties

### compilerOptionsKeys?

> `optional` **compilerOptionsKeys?**: `string`\[]

要设置的编译器选项的 key。

***

### configKeys?

> `optional` **configKeys?**: `string`\[]

要设置的配置选项的 key。

***

### dslPluginName2PkgName?

> `optional` **dslPluginName2PkgName?**: `Record`\<`string`, `string`>

DSL 插件名到其包名的映射。

#### Example

```ts
{
  'lynx:react': '@lynx-js/react-rsbuild-plugin',
}
```

***

### upgradeRspeedyLink?

> `optional` **upgradeRspeedyLink?**: `string`

升级 Rspeedy 的链接。

***

### validate?

> `optional` **validate?**: (`input`: `unknown`) => [`Config`](/next/zh/api/packages/config-rsbuild-plugin/interfaces/Config.md)

Lynx 配置的自定义校验函数。

#### Parameters

| Parameter | Type      | Description |
| --------- | --------- | ----------- |
| `input`   | `unknown` | 要校验的输入。     |

#### Returns

[`Config`](/next/zh/api/packages/config-rsbuild-plugin/interfaces/Config.md)

校验后的 Lynx 配置。
