A Metalsmith plugin to preprocess CSS files with Myth.
$ npm install metalsmith-myth
Install via npm and then add the metalsmith-myth
key to your metalsmith.json
plugin, like so:
{
"plugins": {
"metalsmith-myth": true
}
}
var myth = require('metalsmith-myth');
metalsmith.use(myth(options));
myth({...}) |
Type | Description |
---|---|---|
files |
String |
Minimatch pattern of files to match. Default: *.css . |
Plus the options supported by Myth itself excluding source
which is set by the plugin.
Copyright © 2014 Kasper Kronborg Isager. Licensed under the terms of the MIT license.