grunt-wieldyjs

Grunt task to render WieldyMarkup templates to HTML

This task renders WieldyMarkup templates into HTML.

Install this plugin with the command:

npm install grunt-wieldyjs

Next, add this line to your project's grunt file:

grunt.loadNpmTasks("grunt-wieldyjs");

Lastly, add the configuration settings (see below) to your grunt file.

This task has two required properties, src and dest. src is the path to your source file and dest is the file this task will write to (relative to the grunt.js file). If this file already exists it will be overwritten.

An example configuration looks like this:

grunt.initConfig({
  wieldyjs: {
    dist: {
      src: "example-wml/*.wml",
      dest: "example-html/*.html",
 
      options: {
        // see below for options. this is optional. 
      }
    }
  }
});

TBD