var dot = require('dot');
var fs = require('fs');

module.exports = function(content) {
  if (this.cacheable) {
    this.cacheable();
  }

  var content = fs.readFileSync(this.resourcePath);
  return "module.exports = " + dot.template(content);
};

@@ -130,16 +130,64 @@
 e();%0A  %7D
+%0A  %0A  dot.templateSettings.selfcontained = true;
 %0A%0A  var 

Fix missing encodeHTML function