grunt-img2sassb64
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "grunt-img2sassb64", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Converts image files to Base64 and saves them as SCSS or SASS variables in a single file", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/sarweiler/img2sassb64", |
@@ -89,2 +89,4 @@ # img2sassb64 | ||
* 0.1.2 Fixed missing quotes in generated output | ||
* 0.1.1 Updated documentation | ||
* 0.1.0 Changed directory input to file input to be more flexible | ||
@@ -91,0 +93,0 @@ * 0.0.4 First version |
@@ -65,3 +65,3 @@ /* | ||
// Read file and Base64 encode it | ||
return varName + ': ' + 'data:image/' + fileExtension + ';base64,' + grunt.file.read(filepath, {encoding: null}).toString('base64') + endOfLine; | ||
return varName + ': ' + '"data:image/' + fileExtension + ';base64,' + grunt.file.read(filepath, {encoding: null}).toString('base64') + '"' + endOfLine; | ||
} | ||
@@ -68,0 +68,0 @@ }).join(grunt.util.linefeed); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12295
100