postcss-easy-import
Advanced tools
Comparing version 2.0.0 to 2.1.0
### HEAD | ||
### 2.1.0 | ||
* Add ability to glob inside `node_modules` and `web_modules` - [#16](https://github.com/TrySound/postcss-easy-import/pull/16) | ||
### 2.0.0 | ||
@@ -4,0 +8,0 @@ |
@@ -24,2 +24,9 @@ var path = require('path'); | ||
var paths = [base].concat(opts.path); | ||
// search in modules if non-relative filepath given | ||
if (id[0] !== '.') { | ||
paths = paths.concat([ | ||
'node_modules', | ||
'web_modules' | ||
]); | ||
} | ||
var prefixedId = prefix ? addPrefix(id, prefix) : null; | ||
@@ -26,0 +33,0 @@ |
{ | ||
"name": "postcss-easy-import", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "PostCSS plugin to inline @import rules content with extra features", | ||
@@ -14,7 +14,9 @@ "keywords": [ | ||
"author": "Bogdan Chadkin <trysound@yandex.ru>", | ||
"contributors": [{ | ||
"name": "Simon Smith", | ||
"url": "https://simonsmith.io", | ||
"email": "me@simonsmith.io" | ||
}], | ||
"contributors": [ | ||
{ | ||
"name": "Simon Smith", | ||
"url": "https://simonsmith.io", | ||
"email": "me@simonsmith.io" | ||
} | ||
], | ||
"license": "MIT", | ||
@@ -37,3 +39,3 @@ "repository": "TrySound/postcss-easy-import", | ||
"devDependencies": { | ||
"ava": "^0.16.0", | ||
"ava": "^0.19.1", | ||
"eslint": "^3.11.1", | ||
@@ -40,0 +42,0 @@ "eslint-config-postcss": "^2.0.0" |
@@ -27,2 +27,3 @@ # postcss-easy-import [![Build Status][ci-img]][ci] | ||
@import "./components/*.css"; /* glob */ | ||
@import "suitcss-utils-size/lib/*.css"; /* glob inside node_modules */ | ||
``` | ||
@@ -29,0 +30,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
10235
159
66
0