broccoli-riot
v0.1.0
Published
Broccoli plugin that takes a tree and compiles riot tags into javascript files.
Downloads
6
Maintainers
Readme
broccoli-riot
Note
I'm new to Broccoli and riot as well but I feel the need to learn both, and there is no better way to learn that building something you need. As you may guess this plugin is far from perfect so please, please if you find a bug open a PR!.
This project is heavily inspired, maybe more like a copy & adapt thing on broccoli-typescript so kudos to Shinnosuke Watanabe.
Installation
Install with npm. (Make sure you have installed Node.)
npm i --save-dev broccoli-riot
Example
var compileRiotTags = require('broccoli-riot');
tree = compileRiotTags(tree, options);
API
compileRiotTags(tree[, options])
options.outDir
Type: String
Default: Build target directory
Output compiled files to the directory.
License
Copyright (c) 2014 Gabriel Chertok
Licensed under the MIT License.