zkflow-task-assets
v1.0.0
Published
Assets task in ZKflow format
Downloads
6
Readme
ZKflow task assets
Assets task in ZKflow format
Shields
Installation
npm install --save zkflow-task-assets zkflow gulp
Usage
gulpfile.js
require('zkflow')({
'assets': {
task: require('zkflow-task-assets')
}
}, require('gulp'), mode)
mode
Mode object. Determines task mode of operation.
{
// If watch is true rerun assets on any js file changes. Do not stop on errors.
// If watch is false run only once and stop on any errors
watch: true
// If it is set to dev do not minify images
env: dev
}
Default options
{
globs: 'src/**/_assets/**',
globsOptions: {
base: './'
},
imagemin: undefined
}