Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
node_modules
test/cache
test/fixtures/*.actual.css
test/cache
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a duplicated line here that needs to be removed.

.idea
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ Default: `process.cwd()` or _dirname of [the postcss `from`](https://github.com/
A string or an array of paths in where to look for files.
_Note: nested `@import` will additionally benefit of the relative dirname of imported files._

#### `cacheDir`

Type: `String`
Default: `null`

The location of the cache. When set, the compiled output will be stored in this directory. The cache will automatically be invalidated when a file in the dependency graph is modified.

#### `transform`

Type: `Function`
Expand All @@ -102,7 +109,7 @@ A function to transform the content of imported files. Take one argument (file c

#### `plugins`

Type: `Array`
Type: `Array`
Default: `undefined`

An array of plugins to be applied on each imported file.
Expand Down
Loading