feds-build-views
Gulp task for compiling Jade templates to HTML or Latte
Install
$ npm install --save feds-build-views
Usage
gulpfile.js
var gulp = var partial = var viewsFn = viewsCompilevar viewsOpts = gulp return gulp
API
viewsCompile
CLI modifiers
--production
produces minified and optimized output--watch
watch sources and rebuild on change/addition
gulp
Type: Gulp
Instance of Gulp
options
ext
Type: boolean
Default: false
postHTML
Type: object
Default: {}
pathPrefix
Type: string
Default: ``
pageList
Type: array
Default: []
License
MIT © Viktor Bezděk