scripts/postinstall.js
function projectConfigAddPaths(originalConfig) {
	const config = originalConfig;

	if (!Object.prototype.hasOwnProperty.call(config.paths.src, TASK_NAME)) {
		config.paths.src[TASK_NAME] = `${config.dirs.src}/styles/`;
	}

	if (!Object.prototype.hasOwnProperty.call(config.paths.dest, TASK_NAME)) {
		config.paths.dest[TASK_NAME] = `${config.dirs.dest}/styles/`;
	}

	return config;
}
function projectConfigAddPaths(originalConfig) {
	const config = originalConfig;

	if (!Object.prototype.hasOwnProperty.call(config.paths.src, TASK_NAME)) {
		config.paths.src[TASK_NAME] = `${config.dirs.src}/styles/`;
	}

	if (!Object.prototype.hasOwnProperty.call(config.paths.dest, TASK_NAME)) {
		config.paths.dest[TASK_NAME] = `${config.dirs.dest}/styles/`;
	}

	return config;
}
Transform function for adding paths