Content deleted Content added
Visaldatta (talk | contribs) |
Visaldatta (talk | contribs) |
||
Line 80:
</syntaxhighlight>
The subsequent image Task performs optimising images. <Code> gulp.src () </code> retrieves all the images with the extension .png, .gif or .jpg in the directory '' <nowiki/> 'images-orig/' <nowiki/> ''. <Code> .pipe (imagemin ()) </code> schedules the images found by the optimisation process through and with <code> .pipe (gulp.dest ()) </code> are the optimised images afterwards to folder '' <nowiki/> 'images/' <nowiki/> '' saved. Without <code> gulp.dest () </code> the images would indeed optimised, but are not stored <ref> {{
// Images task
gulp.task ( 'images', function () {
|