grunt-simple-ejs

0.4.0 • Public • Published

grunt-simple-ejs

process ejs template

usage

module.exports = function(grunt) {
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
 
        ejs: {
           dev: {
               templateRoot: 'src/ejs',
               template: [ '*.ejs', 'article/*.ejs' ],
               dest: './',
               include: ['bower_components/external-templates/*.ejs'],
               options: [ 'option.dev.json', { env: 'dev' } ]
           }
        }
    });
 
    grunt.loadNpmTasks('grunt-simple-ejs');
    grunt.registerTask('default', ['ejs:dev']);
};

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.4.00latest

Version History

VersionDownloads (Last 7 Days)Published
0.4.00
0.3.00
0.2.00
0.1.10
0.1.00
0.0.00

Package Sidebar

Install

npm i grunt-simple-ejs

Weekly Downloads

0

Version

0.4.0

License

BSD

Last publish

Collaborators

  • fnobi