loader-utils
Advanced tools
Comparing version 0.2.9 to 0.2.10
@@ -91,3 +91,3 @@ var JSON5 = require("json5"); | ||
return JSON.stringify(splitted.map(function(part) { | ||
if(/^\/|^[A-Z]:/i.test(part)) | ||
if(/^\/|^[A-Z]:/i.test(part) && context) | ||
return "./" + path.relative(context, part).replace(/\\/g, "/"); | ||
@@ -94,0 +94,0 @@ return part; |
{ | ||
"name": "loader-utils", | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "utils for webpack loaders", |
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
14779
4