commander-gulp-images
v2.0.7
Published
Compilación de imagenes dinámicamente
Downloads
3
Maintainers
Readme
Commander Gulp Images Dynamic
Instalación
$ npm install commander-gulp-images
Comando a ejecutar
- Comando para Developer
$ commander-gulp-images images 'entry' --im 'ouput'
$ commander-gulp-images webp 'entry' --wb 'ouput'
- Comando para Producción
$ commander-gulp-images prod:images'entry' --im 'ouput'
Configuración por el package.json
"scripts": {
"images": "commander-gulp-images images \"frontend/src/static/images/**/*.png\" \"frontend/src/static/images/**/*.jpg\" --im \"docs/images/\"",
"webp": "commander-gulp-images webp \"docs/images/**/*.png\" \"docs/images/**/*.jpg\" --wb \"docs/images/\"",
"prod:images": "commander-gulp-images prod:images \"frontend/src/static/images/**/*.png\" \"frontend/src/static/images/**/*.jpg\" --im \"docs/images/\""
}
Link
https://jugaz.github.io/commander-gulp-images/