diff --git a/app/lib/bundler.js b/app/lib/bundler.js index 83ce810ce7..de4ee8bc20 100644 --- a/app/lib/bundler.js +++ b/app/lib/bundler.js @@ -297,6 +297,8 @@ var Bundle = function () { if (w !== "client") throw new Error("HTML segments can only go to the client"); self[options.type].push(data); + } else if (options.type === "img") { + self.files.client[options.path] = data; } else { throw new Error("Unknown type " + options.type); }