npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

fly-riot

2.1.0

@lukeed

npmHomeRepoSnykSocket
Downloads:10
$ npm install fly-riot
DailyWeeklyMonthlyYearly

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