postcss-import
Advanced tools
Comparing version 5.2.1 to 5.2.2
@@ -0,1 +1,5 @@ | ||
# 5.2.2 - 2015-04-19 | ||
- Fixed: globbed imports work for module directories ([#37](https://github.com/postcss/postcss-import/pull/37)) | ||
# 5.2.1 - 2015-04-17 | ||
@@ -2,0 +6,0 @@ |
@@ -112,2 +112,3 @@ "use strict"; | ||
var globPattern = atRule.params.replace(/['"]/g, "").replace(/(?:url\(|\))/g, "") | ||
var paths = options.path.concat(moduleDirectories) | ||
var files = [] | ||
@@ -117,3 +118,3 @@ var dir = options.source && options.source.input && options.source.input.file ? | ||
options.root | ||
options.path.forEach(function(p) { | ||
paths.forEach(function(p) { | ||
p = path.resolve(dir, p) | ||
@@ -120,0 +121,0 @@ var globbed = glob.sync(path.join(p, globPattern)) |
{ | ||
"name": "postcss-import", | ||
"version": "5.2.1", | ||
"version": "5.2.2", | ||
"description": "PostCSS plugin to import CSS files", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
21597
357