Skip to main content
Module

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

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

Finds the Root instance of the node’s tree.

root.nodes[0].nodes[0].root() === root

Returns

Root parent.