/* jshint node: true */

'use strict';

function getTaskConfig(projectConfig) {
	var taskConfig = {
		images: [
			projectConfig.paths.src.images + '**/*.{png,jpg}',
			'!' + projectConfig.paths.src.images + 'responsive/**/*.{png,jpg}'
		],
		svgs: [
			projectConfig.paths.src.images + '**/*.svg'
		],
		responsiveImages: {
			src: [
				projectConfig.paths.src.images + 'responsive/**/*.{png,jpg}',
			],
			config: {
				//
				//https://github.com/mahnunchik/gulp-responsive
				//
				// "path/to/images": [
				// 	{
				// 		"width":   1020,
				// 		"height":  1020,
				// 		"quality": 60,
				// 		"rename": {
				// 			"suffix":  "-large"
				// 		},
				// 		"crop":    "center"
				// 	},
				// ]
			}
		},
		watch: [
			projectConfig.paths.src.images + '**/*.{png,jpg}',
			projectConfig.paths.src.images + '**/*.svg'
		]
	};

	return taskConfig;
}

module.exports = getTaskConfig;

/* jshint node: true */

'use strict';

function getTaskConfig(projectConfig) {
	var taskConfig = {
		images: [
			projectConfig.paths.src.images + '**/*.{png,jpg}',
			'!' + projectConfig.paths.src.images + 'responsive/**/*.{png,jpg}'
		],
		svgs: [
			projectConfig.paths.src.images + '**/*.svg'
		],
		watch: [
			projectConfig.paths.src.images + '**/*.{png,jpg}',
			projectConfig.paths.src.images + '**/*.svg'
		]
	};

	return taskConfig;
}

module.exports = getTaskConfig;

Remove responsiveImages object key from config file
chore: Remove responsiveImages object key from config file
