Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added processTemplate option #144

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added processTemplate option #144

wants to merge 2 commits into from

Conversation

iamwillburn
Copy link

I had a need to wrap each template before concatenating the files. This option allows us to use a function to wrap the compiled template in anything we want.

iamwillburn added 2 commits July 15, 2015 11:05
Made changes to support the output of node-like (and brunch-like) modules. Use by setting the option 'node_like' to 'true'.
Added a 'processTemplate' option that accepts a function. The intention is that it works in a similar way to the 'process' option from 'grunt-contrib-concat', allowing us to wrap the template in anything we want (or do anything we wish to with the compiled output).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant