import { default } from "https://deno.land/x/postcss@8.4.16/lib/processor.d.ts";
Parses source CSS and returns a LazyResult
Promise proxy.
Because some plugins can be asynchronous it doesn’t make
any transformations. Transformations will be applied
in the LazyResult
methods.
processor.process(css, { from: 'a.css', to: 'a.out.css' })
.then(result => {
console.log(result.css)
})