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

# Interface: Options

Options for the Lynx Config rsbuild plugin.

## Properties

### compilerOptionsKeys?

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

The keys of compiler options to set.

***

### configKeys?

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

The keys of config options to set.

***

### dslPluginName2PkgName?

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

A map from DSL plugin name to its package name.

#### Example

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

***

### upgradeRspeedyLink?

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

The link to upgrade Rspeedy.

***

### validate?

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

Custom validation function for the Lynx config.

#### Parameters

| Parameter | Type      | Description            |
| --------- | --------- | ---------------------- |
| `input`   | `unknown` | The input to validate. |

#### Returns

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

The validated Lynx config.
