gobem-proc-justjst
v0.0.1
Published
Processor to make javascript templates for gobem builder.
Downloads
3
Maintainers
Readme
gobem-proc-justjst
This processor for gobem makes javascript templates and passes them to callback function. Function is a required argument.
Example for build.js
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
};