Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Finds the Root instance of the node’s tree.

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

Returns

Root parent.