refill-task-assets
v2.0.0
Published
Assets task in Refill format
Downloads
3
Readme
Refill task assets
Assets task in Refill format
Shields
Installation
npm install --save refill-task-assets refill gulp
Usage
gulpfile.js
require('refill')({
'assets': {
task: require('refill-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
}