performance.preconnect

    • Type: undefined | Array<string | PreconnectOption>
    interface PreconnectOption {
      href: string;
      crossorigin?: boolean;
    }
    • Default: undefined

    INFO

    The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - performance.preconnect.