gulp-asset-transform
Version:
A fully async Usemin-like Gulp library ===================
10 lines (9 loc) • 323 B
JavaScript
var joi = require('joi')
, streamSchema = require('./streamSchema.js')
;
module.exports = joi.object().keys({
tasks: joi.array().includes(joi.string(), joi.func(), streamSchema),
stream: joi.func(),
tagTemplate: joi.func(),
tag: joi.string()
}).xor('tasks', 'stream').without('tagTemplate', 'tag');