svg-sprite-loader
Advanced tools
Comparing version 0.0.23 to 0.0.24
@@ -8,3 +8,3 @@ var path = require('path'); | ||
var template = [ | ||
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink= "http://www.w3.org/1999/xlink" width="{width}" height="{height}">', | ||
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink= "http://www.w3.org/1999/xlink" viewBox="0 0 {width} {height}">', | ||
'<image width="{width}" height="{height}" xlink:href="{src}" />', | ||
@@ -27,2 +27,2 @@ '</svg>' | ||
.replace(/\{src\}/g, 'data:image/'+ info.type +';base64,' + src) | ||
}; | ||
}; |
{ | ||
"name": "svg-sprite-loader", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"description": "SVG sprite webpack loader", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
516
22653