gulpfile.js
function replace(format, data) {
  return format.replace(/{(\w+)}/g, (m, name) => (data[name] ? data[name] : ''));
}
function replace(format, data) {
  return format.replace(/{(\w+)}/g, (m, name) => (data[name] ? data[name] : ''));
}
replaces {id} tokens