Bundle the postcss to the esmodule and translate node to the browser
yarn add -D postcss-browser8
import postcss from "postcss-browser8"
const lazyResult = postcss().process(".title {color: red}")
lazyResult.then(res => {
console.log(res)
})
| Name | Name | Last commit date | ||
|---|---|---|---|---|