grunt-ejs

A grunt task for rendering ejs templates.

npm install grunt-ejs
104 downloads in the last day
409 downloads in the last week
1 263 downloads in the last month

grunt-ejs

A Grunt task for compiling ejs templates.

Getting Started

Install this grunt plugin next to your project's Gruntfile.js with: npm install grunt-ejs --save-dev.

Then add this line to your project's Gruntfile.js:

grunt.loadNpmTasks('grunt-ejs');

Documentation

Add the task to your config and specify the destination for the compiled file:

grunt.initConfig({
  ejs: {
    all: {
      src: ['app/**/*.ejs', '!app/partials/**/*'],
      dest: 'dist/',
      expand: true,
      ext: '.html',
    },
  },
});

Release History

  • 0.1.0 initial release

License

Copyright (c) 2013 Kyle Robinson Young Licensed under the MIT license.

npm loves you