Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

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.

map?: boolean | SourceMapOptions

Source map options

node?: Node

The CSS node that was the source of the warning.

Function to generate AST by string.

plugin?: string

Name of plugin that created this warning. Result#warn will fill it automatically with Plugin#postcssPlugin value.

stringifier?: Stringifier | Syntax<Document_ | Root_>

Class to generate string by AST.

syntax?: Syntax<Document_ | Root_>

Object with parse and stringify.

to?: string

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