in src/stream/transform.ts [32:40]
function getTemplate(config: any) {
if (config.templatePath) {
return fs.readFileSync(config.templatePath, { encoding: 'utf-8' });
} else if (config.template) {
return config.template;
} else {
throw new Error('template not specified in transform config');
}
}