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']);
};

/grunt-simple-ejs/

    Package Sidebar

    Install

    npm i grunt-simple-ejs

    Weekly Downloads

    11

    Version

    0.4.0

    License

    BSD

    Last publish

    Collaborators

    • fnobi