Socket
Book a DemoInstallSign in
Socket

fly-riot

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fly-riot

Riot compiler plugin for Fly.

latest
Source
npmnpm
Version
2.1.0
Version published
Maintainers
1
Created
Source

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

Keywords

fly

FAQs

Package last updated on 01 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts