tasks/swigtemplates.js
function renderFile(outfile, filepath, context) {
      grunt.file.write(outfile, swig.renderFile(filepath, context));
      grunt.log.ok('File "' + outfile + '" created.');
    }
function renderFile(outfile, filepath, context) {
      grunt.file.write(outfile, swig.renderFile(filepath, context));
      grunt.log.ok('File "' + outfile + '" created.');
    }
Render file