Package Exports
- xrecipe-jade
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (xrecipe-jade) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
xrecipe-jade
Jade task for gulp - easy one
Installation
Simply install it with NPM
npm install xrecipe-jade --save-dev
Usage Example
var path = require('path');
var jadeTask = require('xrecipe-jade');
var jadeTaskConfig = {
sourcePath: 'front/main.jade',
destinationPath: 'back/views/',
destinationName: 'index.html',
dataFile: path.resolve(__dirname, 'front/data.json'),
watchPattern: 'front/**/*.+(jade|json)'
};
gulp.task('jade', jadeTask.create(jadeTaskConfig));
gulp.task('jade:watch', ['jade'], jadeTask.create(jadeTaskConfig, true));