KC's Workspace
    Preparing search index...
    interface Alias {
        customResolver?:
            | (
                (
                    this: PluginContext,
                    ...parameters: [
                        source: string,
                        importer: string,
                        options: {
                            attributes: Record<string, string>;
                            custom?: CustomPluginOptions;
                            isEntry: boolean;
                        },
                    ],
                ) => ResolveIdResult
                | Promise<ResolveIdResult>
            )
            | ResolverObject
            | null;
        find: string | RegExp;
        replacement: string;
    }
    Index

    Properties

    customResolver?:
        | (
            (
                this: PluginContext,
                ...parameters: [
                    source: string,
                    importer: string,
                    options: {
                        attributes: Record<string, string>;
                        custom?: CustomPluginOptions;
                        isEntry: boolean;
                    },
                ],
            ) => ResolveIdResult
            | Promise<ResolveIdResult>
        )
        | ResolverObject
        | null

    Instructs the plugin to use an alternative resolving algorithm, rather than the Rollup's resolver.

    null
    
    find: string | RegExp
    replacement: string