ionic-gulp-jade
v0.1.26
Published
Simple Jade compiler gulp task for ionic v2
Downloads
9
Readme
ionic-gulp-jade
simple jade compiler for ionic v2
API
jadeBuild([options])
Returns a stream of Vinyl files that can be piped.
Available options:
- src (String|Array) Glob or array of globs (What's a glob?) matching jade entry files. Default:
'app/**/*.jade'
. - dest (String) Output path for the compiled CSS bundle(s). Default:
'www/build/'
. - jadeOptions (Object) jade-lang options. Default:
{
pretty: true,
doctype: 'html'
}
- onError (Function) Error handler when there are errors in the Sass stream. Default:
function(err) {
console.error(err.message);
this.emit('end');
}
Example
var jadeBuild = require('ionic-gulp-jade');
gulp.task('jade', jadeBuild);
gulp.task('jade', function(){
return jadeBuild({
dest: 'www/my-custom-build-dir',
});
});