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, and this page is available as Markdown at /next/zh/api/packages/config-rsbuild-plugin/interfaces/Options.md.
Lynx
  • 简体中文
  • 接口: Options

    Lynx Config Rsbuild 插件的选项。

    属性

    compilerOptionsKeys?

    optional compilerOptionsKeys?: string[]

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


    configKeys?

    optional configKeys?: string[]

    要设置的配置选项的 key。


    dslPluginName2PkgName?

    optional dslPluginName2PkgName?: Record<string, string>

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

    示例

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

    optional upgradeRspeedyLink?: string

    升级 Rspeedy 的链接。


    validate?

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

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

    参数

    参数类型描述
    inputunknown要校验的输入。

    返回

    Config

    校验后的 Lynx 配置。

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。