2.0.3 • Published 1 year ago

@gorner/broccoli-templater v2.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

broccoli-templater

broccoli plugin that combines lodash's _.template and broccoli for fun stuff.

example:

var templatedTree = new Template(untemplatedTree, pathToTemplate,
  function buildVariables(content, relativePath) {
    return {
      moduleBody: content
    };
});