'use strict';

const gulp = require('gulp');
const config = require('../../../package.json')['gulp-config'];

module.exports = () => {
	gulp.src(`${config.images}/*`)
		.pipe(gulp.dest(`${config.buildDir}/images`));
};

'use strict';

const gulp = require('gulp');
const config = require('../../../package.json')['gulp-config'];

module.exports = () => {
	const images = (config.images) ? `${config.images}/*` : 'src/images/*';

	gulp.src(images)
		.pipe(gulp.dest(`${config.buildDir}/images`));
};

fix gulp image task