fannypack-riot-tags

1.3.0 • Public • Published

fannypack-riot-tags

Official Fannypack task for compiling Riot.js tags

Installation

npm install fannypack-riot-tags --save-dev

Usage

// gulpfile.js
 
var Fannypack = require('fannypack')
 
require('fannypack-riot-tags')
 
Fannypack.Config.tags = {
  // Config.root.src + 'src' dir
  src: 'tags',
  // Config.root.src + 'dest' dir
  dest: 'javascripts',
  // Concatenated file name
  output: '-templates.js',
  // Auto-run this task in dev mode?
  watchTask: true,
  assetTask: true,
  // File extensions to watch
  extensions: ['tag']
}
 
Fannypack.init()

Package Sidebar

Install

npm i fannypack-riot-tags

Weekly Downloads

3

Version

1.3.0

License

MIT

Last publish

Collaborators

  • lukeed