gobem-proc-justjst

0.0.1 • Public • Published

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
};

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i gobem-proc-justjst

    Weekly Downloads

    1

    Version

    0.0.1

    License

    GPLv3

    Last publish

    Collaborators

    • enet