@tbela99/css-parser
    Preparing search index...

    Interface TransformResult

    transform result object

    interface TransformResult {
        ast: AstRuleStyleSheet;
        code: string;
        errors: ErrorDescription[];
        map?: SourceMap;
        stats: {
            bytesIn: number;
            bytesOut: number;
            importedBytesIn: number;
            imports: ParseResultStats[];
            minify: string;
            parse: string;
            render: string;
            src: string;
            total: string;
        };
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    parsed ast tree

    code: string

    rendered css

    parse errors

    map?: SourceMap

    source map

    stats: {
        bytesIn: number;
        bytesOut: number;
        importedBytesIn: number;
        imports: ParseResultStats[];
        minify: string;
        parse: string;
        render: string;
        src: string;
        total: string;
    }

    transform stats

    Type declaration

    • bytesIn: number

      bytes read

    • bytesOut: number

      generated css size

    • importedBytesIn: number

      bytes read from imported files

    • imports: ParseResultStats[]

      imported files stats

    • minify: string

      minify time

    • parse: string

      parse time

    • render: string

      render time

    • src: string

      source file

    • total: string

      total time