Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hulk support for node exports format
Allow export of templates in node format, also supporting browserify/webpack processing If we are creating a aggregated out put the export will expose a template map like it is already doing to the global variable, but in this case we use `module.export` and `global.` for browser interoperability. If we are crearing one file per template it adds the template directly in the `module.exports`.
- Loading branch information
Showing
2 changed files
with
108 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters