src/index.js
function processTemplates(templates) {
	var templateProcessingLog = logger.createTemplateProcessingLog();
	var replacements = Mix.manifest.get();
	for (let template in templates) {
		if (templates.hasOwnProperty(template)) {
			// Copy to target
			fs.copySync(template, templates[template]);
			// Compile
			compileTemplate(
				templates[template],
				replacements,
				templateProcessingLog.addTemplateFileLog(
					template,
					templates[template]
				)
			);
		}
	}
	templateProcessingLog.print();
}
function processTemplates(templates) {
	var templateProcessingLog = logger.createTemplateProcessingLog();
	var replacements = Mix.manifest.get();
	for (let template in templates) {
		if (templates.hasOwnProperty(template)) {
			// Copy to target
			fs.copySync(template, templates[template]);
			// Compile
			compileTemplate(
				templates[template],
				replacements,
				templateProcessingLog.addTemplateFileLog(
					template,
					templates[template]
				)
			);
		}
	}
	templateProcessingLog.print();
}
function processTemplates ( templates ) { var templateProcessingLog = logger . createTemplateProcessingLog ( ) ; var replacements = Mix . manifest . get ( ) ; for ( let template in templates ) { if ( templates . hasOwnProperty ( template ) ) { // Copy to target fs . copySync ( template , templates [ template ] ) ; // Compile compileTemplate ( templates [ template ] , replacements , templateProcessingLog . addTemplateFileLog ( template , templates [ template ] ) ) ; } } templateProcessingLog . print ( ) ; }
Process the template files.

@param {Object} templates The templates.
Process the template files .