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

Commit 9a18ba9

Browse files
committed
fix: add cacheIdentifier to documentation
1 parent 663e18a commit 9a18ba9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ module.exports = {
4848
|Name|Type|Default|Description|
4949
|:--:|:--:|:-----:|:----------|
5050
|**`cacheDirectory`**|`{String}`|`path.resolve('.cache-loader')`|Provide a cache directory where cache items should be stored|
51+
|**`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.|
5152

5253
<h2 align="center">Examples</h2>
5354

0 commit comments

Comments
 (0)