Skip to content

Commit b6ae424

Browse files
committed
Add documentation and changelog
1 parent 1fbeca6 commit b6ae424

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@ postcssImport({
2828
})
2929
```
3030

31+
- Removed: glob support
32+
([#146](https://github.com/postcss/postcss-import/pull/146))
33+
34+
Globs can be implemented with custom `resolve` option
35+
36+
```js
37+
postcssImport({
38+
resolve: function(id, base) {
39+
return glob.sync(path.join(base, id))
40+
}
41+
})
42+
```
43+
3144
# 7.1.3 - 2015-11-05
3245

3346
- Fixed: ensure node 0.12 compatibility, round 2

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,6 @@ Default: `null`
125125

126126
Function called after the import process. Take one argument (array of imported files).
127127

128-
#### `glob`
129-
130-
Type: `Boolean`
131-
Default: `false`
132-
133-
Set to `true` if you want @import rules to parse glob patterns.
134-
Files will be searched in base directory and paths specified in `path` option.
135-
136128
#### `resolve`
137129

138130
Type: `Function`

0 commit comments

Comments
 (0)