2.1.0 • Published 7 years ago

fly-riot v2.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

fly-riot npm package

Riot compiler plugin for Fly.

Install

npm install --save-dev fly-riot

Usage

exports.tags = function * (fly) {
	yield fly.source('src/**/*.tag')
		.riot()
		.concat('templates.js') // requires fly-concat!
		.target('dist/js');
}

API

.riot()

All matching files will be compiled to JavaScript & be converted to a .js file type.

Recommended: You should concatenate all your compiled tags, as seen in the example above. To achieve this, you must install the fly-concat plugin.

There are no options for this plugin.

License

MIT © Luke Edwards

2.1.0

7 years ago

2.0.0

8 years ago

1.0.0

8 years ago