Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
interface ProcessOptions
import { type ProcessOptions } from "https://deno.land/x/postcss@8.4.16/lib/postcss.d.ts";

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