(filePath)
| 5 | const debug = debugModule.errors |
| 6 | |
| 7 | export async function compileTemplate (filePath) { |
| 8 | const indexTemplateSource = readFile(filePath) |
| 9 | return Handlebars.compile(indexTemplateSource) |
| 10 | } |
| 11 | |
| 12 | export async function processHandlebarFile (filePath, substitutions) { |
| 13 | return processFile(filePath, (rawSource) => processHandlebarTemplate(rawSource, substitutions)) |
no test coverage detected