0.5.0 • Published 8 years ago

mako-myth v0.5.0

Weekly downloads
10
License
MIT
Repository
github
Last release
8 years ago

mako-myth

A mako plugin that compiles CSS code using myth.

npm version npm dependencies npm dev dependencies build status

Usage

var mako = require('mako');
var text = require('mako-text');
var myth = require('mako-myth');
var css = require('mako-css');

mako()
  // read from disk
  .use(text('css'))
  // compile css with myth
  .use(myth())
  // assemble npm modules
  .use(css())
  // run the builder
  .build('./index.css')
  .then(function () {
    // done!
  });

API

myth()

This plugin does not currently expose any configuration, this will likely change soon.

Dependencies

This requires some sort of read plugin that populates file.contents with a string.

Effects

For each file processed, it will compile file.contents from input myth CSS into vanilla CSS. Currently, this plugin is designed to be compatible with mako-css, but interoperability will come in the future.

0.5.0

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.1

9 years ago