yaymukund / grunt-ember-handlebars

Precompile ember templates in grunt using only headless-ember.js and ember.js
MIT License
34 stars 26 forks source link

Using filesSrc in task for for files #21

Open michaelBenin opened 10 years ago

michaelBenin commented 10 years ago

Like Grunt tasks that use the standard files options.

ember_handlebars: {
      compile: {
        options: {
          namespace: "Ember.TEMPLATES"
        },
          files: [{
            src:[
              'frontend_src/templates/*.html',
              '!frontend_src/templates/scripts.html',
              '!frontend_src/js/templates/base.html',
              '!frontend_src/js/templates/config.html'
            ],
            dest: 'frontend_src/js/template/built/templates.js'
         }],
      }
    },