Skip to content

Commit

Permalink
Merge 42fca01 into ceeab1e
Browse files Browse the repository at this point in the history
  • Loading branch information
AlfredMachineUser committed Sep 1, 2016
2 parents ceeab1e + 42fca01 commit b10b9cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Expand Up @@ -26,7 +26,8 @@ function resolveImageSrc(loaderContext, image, callback) {

// Update the image src property to match the generated filename
// Is it always the first key in the assets object?
image.src = Object.keys(module.assets)[0];
image.src = source.match( /"(.*?)"/ )[1]
// image.src = Object.keys(module.assets)[0];

callback(null);
});
Expand Down

0 comments on commit b10b9cf

Please sign in to comment.