Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/bundler/deps.ts>postcss.ProcessOptions

A Bundler with the web in mind.
Go to Latest
interface postcss.ProcessOptions
import { type postcss } from "https://deno.land/x/bundler@0.6.5/deps.ts";
const { ProcessOptions } = postcss;

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