duo-postcss

Postcss plugin for duo

Usage no npm install needed!

<script type="module">
  import duoPostcss from 'https://cdn.skypack.dev/duo-postcss';
</script>

README

duo-postcss

Build Status

Ability to use postcss with duo.

CLI Usage:

duo --use duo-postcss index.css > build.css

API Usage:

var co = require('co');
var Duo = require('duo');
var stylus = require('duo-postcss');

co(function *(){
  var duo = Duo(__dirname);
  duo.entry('index.css');
  duo.use(postcss());
  var css = yield duo.run();
  // ...
  })();