Closed meircarlos closed 1 year ago
Pug Version: 3.0.2
Node Version: 18
const templatePath = `${__dirname}/templates/test-report.html.pug`; const options = { name: 'testReportTemplate' }; const compiledTemplate = pug.compileFileClient(templatePath, options)
The expected compiledTemplate should have a function named 'testReportTemplate' however it's returning a function named 'pug_attr'.
It happens with any template.
Never mind, I thought only one function was meant to be returned
Pug Version: 3.0.2
Node Version: 18
Input JavaScript Values
The expected compiledTemplate should have a function named 'testReportTemplate' however it's returning a function named 'pug_attr'.
It happens with any template.