Skip to content
This repository was archived by the owner on Oct 27, 2020. It is now read-only.

Commit bec9bd3

Browse files
author
evilebottnawi
committed
feature: use find-cache-dir for determinate cache path
1 parent 88dfc00 commit bec9bd3

File tree

4 files changed

+732
-1488
lines changed

4 files changed

+732
-1488
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = {
4747

4848
|Name|Type|Default|Description|
4949
|:--:|:--:|:-----:|:----------|
50-
|**`cacheDirectory`**|`{String}`|`path.resolve('.cache-loader')`|Provide a cache directory where cache items should be stored|
50+
|**`cacheDirectory`**|`{String}`|`./node_modules/.cache/cache-loader`|Provide a cache directory where cache items should be stored|
5151
|**`cacheIdentifier`**|`{String}`|`cache-loader:{version} {process.env.NODE_ENV}`|Provide an invalidation identifier which is used to generate the hashes. You can use it for extra dependencies of loaders.|
5252

5353
<h2 align="center">Examples</h2>

0 commit comments

Comments
 (0)