alanshaw / grunt-include-replace

Grunt task to include files and replace variables. Allows for parameterised includes.
MIT License
200 stars 45 forks source link

Proposal: Templating with Moustache #13

Closed rudeayelo closed 11 years ago

rudeayelo commented 11 years ago

First, grunt-include-replace just became one of my favorite Grunt tasks, congrats for such an amazing and convenient work.

It would be really aweome if it could use Mustache templating, kind of what fragment.js does. Being able to process simple loops and conditionals would make this just perfect.

alanshaw commented 11 years ago

Have you seen https://github.com/assemble/assemble/ ?

rudeayelo commented 11 years ago

Checking it, thanks!

Anyway, if you prefer keeping grunt-include-replace simple, just close this issue ;)

alanshaw commented 11 years ago

It's a great idea, I just wish I had thought of it at the time. Since assemble now exists (and is pretty excellent at what it does) there doesn't seem much point in adding it in. I like that grunt-include-replace has no dependencies and is so simple. In some ways these are now it's strengths. Thanks for the suggestion, and I really appreciate the input, but I'm going to keep it basic at least for the time being.