ejs-render-loader for webpack
EJS loader for webpack. Uses ejs function to compile templates.
Installation
npm install ejs-render-loader
Usage
var template = ;// => returns rendered output from file.ejs // Child Templates// path is relative to template<%- include childdir/child -%> // Query Parameters: (passed to template)// raw (boolean) - output raw markup, for use with file-loader// ejs (object) - options to pass to ejs.compile;
License
MIT (http://www.opensource.org/licenses/mit-license.php)