/*
	Optimise images
	----------------------------------- */

	module.exports = function(paths, gulp, plugins) {

		// Child modules
		var pngquant = require('imagemin-pngquant');

		// Return module
		return function() {

			var options = {
				progressive: true,
				use: [pngquant()]
			};

			return gulp.src(plugins.path.join(paths.assets.images, '{,*/}*.{png,jpg,gif}'))
				.pipe(plugins.imagemin(options))
				.pipe(gulp.dest(paths.assets.images));
		};
	};
/*
	Optimise images
	----------------------------------- */

	module.exports = function(paths, gulp, plugins) {

		// Child modules
		var pngquant = require('imagemin-pngquant');

		// Return module
		return function() {

			var options = {
				progressive: true,
				use: [pngquant()]
			};

			return gulp.src(plugins.path.join(paths.build, 'assets/img/{,*/}*.{png,jpg,gif}'))
				.pipe(plugins.imagemin(options))
				.pipe(gulp.dest(plugins.path.join(paths.build, 'assets/img')));
		};
	};
Optimise image task should run on /dist