css-loader
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -47,4 +47,4 @@ /* | ||
var match = /^%CSSURL\[%(["']?(.*?)["']?)%\]CSSURL%$/.exec(JSON.parse('"' + str + '"')); | ||
var url = loaderUtils.parseString(match[2]); | ||
if(!loaderUtils.isUrlRequest(match[2], root)) return JSON.stringify(match[1]).replace(/^"|"$/g, ""); | ||
var url = loaderUtils.parseString(match[1]); | ||
if(!loaderUtils.isUrlRequest(url, root)) return JSON.stringify(match[1]).replace(/^"|"$/g, ""); | ||
var idx = url.indexOf("?#"); | ||
@@ -51,0 +51,0 @@ if(idx < 0) idx = url.indexOf("#"); |
{ | ||
"name": "css-loader", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "css loader module for webpack", |
@@ -20,3 +20,3 @@ # css loader for webpack | ||
To be combatible to existing css files: | ||
To be compatible with existing css files: | ||
* `url(image.png)` => `require("./image.png")` | ||
@@ -23,0 +23,0 @@ * `url(~module/image.png)` => `require("module/image.png")` |
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
9719