rollup-plugin-html2
    Preparing search index...

    Interface Injected

    Configuration for an injected entry or external resource

    interface Injected {
        crossorigin?: "anonymous" | "use-credentials";
        tag?: "link" | "script" | "style";
        type?: string;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index

    Properties

    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

    tag?: "link" | "script" | "style"

    Which tag to use for injection.

    type?: string

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