Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface ProcessOptions
import { type ProcessOptions } from "https://deno.land/x/postcss@8.4.16/lib/postcss.js";

Properties

optional
from: string

The path of the CSS source file. You should always set from, because it is used in source map generation and syntax error messages.

optional
to: string

The path where you'll put the output CSS file. You should always set to to generate correct source maps.

optional
parser: Syntax | Parser

Function to generate AST by string.

optional
stringifier: Syntax | Stringifier

Class to generate string by AST.

optional
syntax: Syntax

Object with parse and stringify.

optional
map: SourceMapOptions | boolean

Source map options