rollup-plugin-html2
    Preparing search index...

    Interface Script

    Injected script

    interface Script {
        crossorigin?: "anonymous" | "use-credentials";
        nomodule?: boolean;
        tag: "script";
        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

    nomodule?: boolean

    Whether to add or not the nomodule attribute.

    tag: "script"

    Which tag to use for injection.

    type?: string

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