Skip to content

Commit

Permalink
docs(Configuration): document cache.readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxsan committed Jun 30, 2023
1 parent b9c1ecc commit bbda957
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/content/configuration/cache.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,23 @@ module.exports = {
};
```

### cache.readonly

`boolean` <Badge text='5.85.0' />

Prevent webpack from storing cache into file system. Only available when `cache.type === "filesystem"` and `cache.store === 'pack'`.

```js
module.exports = {
//...
cache: {
type: 'filesystem',
store: 'pack',
readonly: true,
},
};
```

### cache.store

`string = 'pack': 'pack'`
Expand Down

0 comments on commit bbda957

Please sign in to comment.