rollup-plugin-html2
    Preparing search index...

    Interface Link

    Injected link

    interface Link {
        as?: string;
        crossorigin?: "anonymous" | "use-credentials";
        rel?: string;
        tag: "link";
        type?: string;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index

    Properties

    as?: string

    Specifies the type of content being loaded when Link.rel is set to "preload" or "prefetch".

    crossorigin?: "anonymous" | "use-credentials"

    Whether CORS must be used when fetching the resource.

    If the attribute is undefined, the resource is fetched without a CORS request.

    Details

    rel?: string

    Relationship of the linked document.

    tag: "link"

    Which tag to use for injection.

    type?: string

    The type of script represented for Script or the content linked to for Link