Questions tagged [grunt-contrib-jst]

Precompile Underscore templates to JST file.

Grunt task to precompile Underscore templates to JST file.

2 questions
2
votes
0 answers

Precompile Underscore templates without underscore.js dependency

I am using grunt-contrib-jst to precompile my templates and it's all working great. However, I am using this to build a plugin and I want to keep the filesize as small as possible. I don't use underscore.js in my code, but the precompiled templates…
Cosmin Stamate
  • 145
  • 1
  • 1
  • 11
1
vote
1 answer

grunt contrib-jst to render underscore templates is not formatting properly

I'm trying to use grunt-contrib-jst to compile my underscore templates, but it seems to not be rendering / preserving the variables properly. Here's what a template looks like normally: