Exclude files? #2

iamntz opened this Issue Feb 1, 2014 · 1 comment


None yet
2 participants

iamntz commented Feb 1, 2014

Hi. I'm trying to compile some of templates but to exclude some others (there is something like 20%/80% ratio of needed/not needed), but it seems that the only mustache to js compiler (that works!) doesn't know how to do it. Or i don't know how to do it.

Here is the task i use:

jsttojs: {
  root: 'views/',
  output: 'assets/dist/javascripts/templates.js',
  ext: 'mustache',
  removebreak: true,
  name: "my_template"

I tried to use an array on root but no dice.

Any help would be greatfuly appreciated. Thanks!


kupriyanenko commented Feb 4, 2014

@iamntz hi, now jsttojs not support this functionality (patterns for excluded files), but I think this is really usefully and can be supported soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment