grunt-simple-ejs
v0.4.0
Published
process ejs template.
Downloads
3
Readme
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']);
};