For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/packages/config-rsbuild-plugin/interfaces/Options.md.
Lynx
  • English
  • 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

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

    optional upgradeRspeedyLink?: string

    The link to upgrade Rspeedy.


    validate?

    optional validate?: (input: unknown) => Config

    Custom validation function for the Lynx config.

    Parameters

    ParameterTypeDescription
    inputunknownThe input to validate.

    Returns

    Config

    The validated Lynx config.

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.