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.
resolve.cache
1 parent 6816201 commit 9680ca8Copy full SHA for 9680ca8
src/content/configuration/resolve.mdx
@@ -197,6 +197,23 @@ Configure resolve options by the type of module request.
197
};
198
```
199
200
+### resolve.cache
201
+
202
+`boolean`
203
204
+Enables caching of successfully resolved requests, allowing cache entries to be revalidated.
205
206
+**webpack.config.js**
207
208
+```js
209
+module.exports = {
210
+ //...
211
+ resolve: {
212
+ cache: true,
213
+ },
214
+};
215
+```
216
217
### resolve.cachePredicate
218
219
`function(module) => boolean`
0 commit comments