mirror of
https://github.com/marko-js/marko.git
synced 2026-01-18 14:55:13 +00:00
6 lines
231 B
JavaScript
6 lines
231 B
JavaScript
module.exports = function load(templatePath) {
|
|
// We make the assumption that the template path is a
|
|
// fully resolved module path and that the module exists
|
|
// as a CommonJS module
|
|
return require(templatePath);
|
|
}; |