Gruntjs grunt contrib手柄未编译嵌套路径

Gruntjs grunt contrib手柄未编译嵌套路径,gruntjs,handlebars.js,Gruntjs,Handlebars.js,我试图使用grunt contrib handlebar编译嵌套路径,但它没有在子目录/js/templates/foo/bar中拾取模板。tpl被忽略 handlebars: { compile: { options: { namespace: false }, files: { "<%= tplOutFileMain %>" : ["js/templates/**/*.tpl"

我试图使用
grunt contrib handlebar
编译嵌套路径,但它没有在子目录
/js/templates/foo/bar中拾取模板。tpl
被忽略

handlebars: {
    compile: {
        options: {
            namespace: false
        },
        files: {
            "<%= tplOutFileMain %>" : ["js/templates/**/*.tpl"]
        }
    }
},
把手:{
汇编:{
选项:{
名称空间:false
},
档案:{
“”:[“js/templates/***.tpl”]
}
}
},

对我来说非常好。你已经重新验证过了,所有的.tpl文件将被编译成一个文件。是的。它缺少
/js/templates/
子文件夹中的所有模板。我可能用的是过时的车把。