fly-quaint
v0.1.1
Published
Quaint plugin for Fly.
Downloads
1
Readme
Usage
Currently, there is no documentation available. However, you can get a feel for what Quaint is capable of by trying it here.
This plugin takes an optional object of options :dizzy_face: which are passed to the compiler. There is one option that is dealt with directly by the plugin and that's the format
that you'd like the result to be in. It can be html
, enode
, text
and (currently not working) dom
. format
defaults to html
and logs a message to the user stating that it is using the default (may drop or change this).
Install
npm install -D fly-quaint
Example
JavaScript
export default function* () {
yield this.clear("dist")
yield this
.source("src/**/*.q")
.quaint({ format: "html" }) // this is the default
.concat("result.html")
.target("dist")
}
Earl-Grey
provide: default
default = *->
yield this.clear(.dist)
yield chain this:
@source: "src/**/*.q"
@quaint: { format = .html } ;; this is the default
@concat: "result.html"
@target: .dist
License
MIT © Jake Russo et al