moe.compileFileSync
Synchronous version of the moe.compileFile
function:
function moe.compileFileSync(filename, options)
filename
is the file to compileoptions
- optional compile options (see below)- returns the compiled template, or throws an exception