This is the dev preview website. Check out the document at 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.