Skip to content

vdesjs/postcss-browser

 
 

Repository files navigation

PostCSS

Bundle the postcss to the esmodule and translate node to the browser

use

yarn add -D postcss-browser8

import postcss from "postcss-browser8"

const lazyResult = postcss().process(".title {color: red}")

lazyResult.then(res => {
  console.log(res)
})

About

Transforming styles with JS plugins

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 70.6%
  • TypeScript 29.3%
  • HTML 0.1%