url-loader
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -13,7 +13,9 @@ /* | ||
} | ||
var minetype = null; | ||
var mimetype = null; | ||
if(query.minetype) | ||
minetype = query.minetype | ||
mimetype = query.minetype | ||
if(query.mimetype) | ||
mimetype = query.mimetype | ||
if(limit < 0 || content.length < limit) { | ||
return "module.exports = " + JSON.stringify("data:" + (minetype ? minetype + ";" : "") + "base64," + content.toString("base64")); | ||
return "module.exports = " + JSON.stringify("data:" + (mimetype ? mimetype + ";" : "") + "base64," + content.toString("base64")); | ||
} else { | ||
@@ -20,0 +22,0 @@ var fileLoader = require("file-loader"); |
{ | ||
"name": "url-loader", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "url loader module for webpack", |
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
1563
24