Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method default.prototype.replaceWith
import { default } from "https://deno.land/x/postcss@8.4.16/lib/node.js";

Inserts node(s) before the current node and removes the current node.

AtRule: {
  mixin: atrule => {
    atrule.replaceWith(mixinRules[atrule.params])
  }
}

Parameters

...nodes: ()[]

Mode(s) to replace current one.

Returns

this

Current node to methods chain.