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

    Interface RenderOptions

    ast node render options

    interface RenderOptions {
        beautify?: boolean;
        convertColor?: boolean | ColorType;
        cwd?: string;
        expandNestingRules?: boolean;
        indent?: string;
        minify?: boolean;
        newLine?: string;
        output?: string;
        preserveLicense?: boolean;
        removeComments?: boolean;
        removeEmpty?: boolean;
        resolve?: (
            url: string,
            currentUrl: string,
            currentWorkingDirectory?: string,
        ) => ResolvedPath;
        sourcemap?: boolean | "inline";
        withParents?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    beautify?: boolean

    pretty print css

    convertColor?: boolean | ColorType

    convert color to the specified color space. 'true' will convert to HEX

    cwd?: string

    current working directory

    expandNestingRules?: boolean

    expand nesting rules

    indent?: string

    indent string

    minify?: boolean

    minify ast node.

    newLine?: string

    new line string

    output?: string

    output file. used for url resolution

    preserveLicense?: boolean

    preserve license comments. license comments are comments that start with /*!

    removeComments?: boolean

    remove comments

    removeEmpty?: boolean

    remove empty rule lists from the ast

    resolve?: (
        url: string,
        currentUrl: string,
        currentWorkingDirectory?: string,
    ) => ResolvedPath

    resolve path

    sourcemap?: boolean | "inline"

    generate sourcemap object. 'inline' will embed it in the css

    withParents?: boolean

    ernder the node along with its parents