DON'T USE THE PACKAGE. IT'S DEPRECATED!!! USE webpack INSTEAD.
This processor for gobem makes javascript templates and passes them to callback function. Function is a required argument.
module.exports = function () {
return [
['select', 0, /^components\/(\w+)\/\1\.jst$/],
['gobem-proc-justjst', function (templateName, template) {
storage[templateName] = template;
}]
]; // this array will be used as build instructions
};