KC's Workspace
    Preparing search index...

    Custom resolver to use when loading CSS files.

    interface Resolver {
        read?: (file: string) => string | Promise<string>;
        resolve?: (
            specifier: string,
            originatingFile: string,
        ) => string | Promise<string>;
    }
    Index

    Properties

    Properties

    read?: (file: string) => string | Promise<string>

    Read the given file and return its contents as a string.

    resolve?: (
        specifier: string,
        originatingFile: string,
    ) => string | Promise<string>

    Resolve the given CSS import specifier from the provided originating file to a path which gets passed to read().