KC's Workspace
    Preparing search index...

    Interface PluginContextResolveOptions

    interface PluginContextResolveOptions {
        custom?: CustomPluginOptions;
        isEntry?: boolean;
        kind?:
            | "import-statement"
            | "dynamic-import"
            | "require-call"
            | "import-rule"
            | "url-token"
            | "new-url"
            | "hot-accept";
        skipSelf?: boolean;
    }
    Index

    Properties

    Plugin-specific options.

    See Custom resolver options section for more details.

    isEntry?: boolean

    The value for isEntry passed to resolveId hooks.

    false if there's an importer, true otherwise.

    kind?:
        | "import-statement"
        | "dynamic-import"
        | "require-call"
        | "import-rule"
        | "url-token"
        | "new-url"
        | "hot-accept"

    The value for kind passed to resolveId hooks.

    skipSelf?: boolean

    Whether the resolveId hook of the plugin from which this.resolve is called will be skipped when resolving.

    true