Skip to content

Commit

Permalink
feat(ejs include): add config filename to allow caching and include f…
Browse files Browse the repository at this point in the history
…unctionnality
  • Loading branch information
mservaising committed Feb 17, 2021
1 parent 91ade1d commit e9d155d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function resetVirtualFiles() {
*/
export function processTemplate(_fileContent, data = {}) {
let fileContent = _fileContent;
fileContent = render(fileContent, data, { debug: false });
fileContent = render(fileContent, data, { debug: false, filename: 'template' });
return fileContent;
}

Expand Down

0 comments on commit e9d155d

Please sign in to comment.