We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9c1ecc commit 2c765b9Copy full SHA for 2c765b9
src/content/configuration/cache.mdx
@@ -376,6 +376,23 @@ module.exports = {
376
};
377
```
378
379
+### cache.readonly
380
+
381
+`boolean` <Badge text='5.85.0' />
382
383
+Prevent webpack from storing cache into file system. Only available when `cache.type === "filesystem"` and `cache.store === 'pack'`.
384
385
+```js
386
+module.exports = {
387
+ //...
388
+ cache: {
389
+ type: 'filesystem',
390
+ store: 'pack',
391
+ readonly: true,
392
+ },
393
+};
394
+```
395
396
### cache.store
397
398
`string = 'pack': 'pack'`
0 commit comments