Skip to main content
Module

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

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

Removes the node from its parent and cleans the parent properties from the node and its children.

if (decl.prop.match(/^-webkit-/)) {
  decl.remove()
}

Returns

this

Node to make calls chain.