Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fed_dev/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/fed_dev@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.