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

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

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

Clear the code style properties for the node and its children.

node.raws.before  //=> ' '
node.cleanRaws()
node.raws.before  //=> undefined

Parameters

optional
keepBetween: boolean

Keep the raws.between symbols.