Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

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()

install

npm i fannypack-riot-tags

Downloadsweekly downloads

2

version

1.3.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability