var data;
if (Array.isArray(templateData)) {
data = templateData[index];
if (data) {
return data;
}
grunt.log.error('You need to assign the same number of data files as source files when using array notation.');
}
So it looks like we can only use one template data to insert variables into templates. Is it possible to insert different data sources into the same file with a single output ?
So it looks like we can only use one template data to insert variables into templates. Is it possible to insert different data sources into the same file with a single output ?