Skip to main content
Module

x/bundler/deps.ts>postcss.WarningOptions

A Bundler with the web in mind.
Latest
interface postcss.WarningOptions
Re-export
import { type postcss } from "https://deno.land/x/bundler@0.9.0/deps.ts";
const { WarningOptions } = postcss;

Properties

optional
node: Node

CSS node that caused the warning.

optional
word: string

Word in CSS source that caused the warning.

optional
index: number

Start index, inclusive, in CSS node string that caused the warning.

optional
endIndex: number

End index, exclusive, in CSS node string that caused the warning.

optional
start: RangePosition

Start position, inclusive, in CSS node string that caused the warning.

optional
end: RangePosition

End position, exclusive, in CSS node string that caused the warning.

optional
plugin: string

Name of the plugin that created this warning. Result#warn fills this property automatically.