0.0.2 • Published 7 years ago

grunt-passbolt-ejs-compile v0.0.2

Weekly downloads
1
License
-
Repository
github
Last release
7 years ago

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-passbolt-ejs-compile --save-dev.

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

  grunt.loadNpmTasks('grunt-passbolt-ejs-compile');

Documentation

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

grunt.initConfig({
    ejs_compile: {
        all: {
            cwd: path.src_templates,
            src: ['**/*.ejs'],
            dest: path.build_templates,
            expand: true,
            ext: '.js',
            options: {
              delimiter: '?'
            }
        }
    }
});

License

Licensed under the AGPL-3.0 license.

0.0.2

7 years ago

0.0.1

7 years ago