Files
lynchmark-gone1/tests/4_transpiler/outputs/x-ai_grok-4.1-fast.js
T

8 lines
271 B
JavaScript

const getHandlebars=(async()=>(await import('https://esm.sh/handlebars@4.7.8')).default)();
async function renderTemplate(template,data){
const Handlebars=await getHandlebars;
const fn=Handlebars.compile(template);
return fn(data);
}
export default renderTemplate;