diff --git a/lib/utils/read-sources.js b/lib/utils/read-sources.js
index <HASH>..<HASH> 100644
--- a/lib/utils/read-sources.js
+++ b/lib/utils/read-sources.js
@@ -29,6 +29,8 @@ var REMOTE_RESOURCE_PATTERN = /^(https?:)?\/\//;
 function readSources(input, context, callback) {
   if (typeof input == 'string') {
     return fromString(input, context, {}, callback);
+  } else if (Buffer.isBuffer(input)) {
+    return fromString(input.toString(), context, {}, callback);
   } else if (typeof input == 'object') {
     return fromHash(input, context, {}, callback);
   }
Restores accepting `Buffer` as input.