Content deleted Content added
Visaldatta (talk | contribs) |
Visaldatta (talk | contribs) No edit summary |
||
Line 84:
</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 the ''<nowiki/> 'images/' folder<nowiki/> to be'' saved. Without <code> gulp.dest () </code> the images would indeed optimise, but are not stored <ref> {{
// Images task
gulp.task ( 'images', function () {
|