Skip to main content
Module

x/bundler/deps.ts>postcss.Node#warn

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

This method is provided as a convenience wrapper for Result#warn.

  Declaration: {
    bad: (decl, { result }) => {
      decl.warn(result, 'Deprecated property bad')
    }
  }

Parameters

result: Result

The Result instance that will receive the warning.

text: string

Warning message.

optional
opts: WarningOptions

Warning Options.

Returns

Created warning object.