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/rsbuild-plugin/functions/isPluginLynxRegistered.md.
Lynx
  • English
  • Function: isPluginLynxRegistered()

    isPluginLynxRegistered(host: object, environments: string[]): boolean

    Whether the Lynx build engine is already registered.

    Parameters

    ParameterTypeDescription
    host{ isPluginExists: boolean; }The Rsbuild instance or plugin API to look it up on.
    host.isPluginExists-
    environmentsstring[]The names of the configured environments.

    Returns

    boolean

    Remarks

    The engine is a global one. isPluginExists without an environment only reports the global plugins, so it misses an engine a caller — rslib, for one — registered on an environment instead.

    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.