Permalink
Browse files

fix(core): inlined assets not deleted

  • Loading branch information...
sparanoid committed Sep 9, 2015
1 parent f46e624 commit 10cfe916d2c7ef7a7f2f0cddd4f8e345ec71f3ac
Showing with 4 additions and 0 deletions.
  1. +4 −0 tasks/assets_inline.js
@@ -106,6 +106,10 @@ module.exports = function(grunt) {
} else {
style = style.replace(src, 'data:image/svg+xml;utf8,' + processSvg(grunt.file.read(filePath)));
}
if (options.deleteOriginals) {
filesToDelete.push(filePath);
}
});
$(this).text(style);

0 comments on commit 10cfe91

Please sign in to comment.