File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -730,7 +730,7 @@ module.exports = {
730
730
731
731
##### ` object `
732
732
733
- Enables ` transform ` caching and setup cache directory and invalidation keys.
733
+ Enables ` transform ` caching and setup invalidation keys.
734
734
735
735
** webpack.config.js**
736
736
@@ -747,7 +747,6 @@ module.exports = {
747
747
return optimize (content);
748
748
},
749
749
cache: {
750
- directory: path .resolve (__dirname , " cache-directory" ),
751
750
keys: {
752
751
// May be useful for invalidating cache based on external values
753
752
// For example, you can invalid cache based on `process.version` - { node: process.version }
@@ -781,7 +780,6 @@ module.exports = {
781
780
return optimize (content);
782
781
},
783
782
cache: {
784
- directory: path .resolve (__dirname , " cache-directory" ),
785
783
keys : (defaultCacheKeys , absoluteFrom ) => {
786
784
const keys = getCustomCacheInvalidationKeysSync ();
787
785
@@ -816,7 +814,6 @@ module.exports = {
816
814
return optimize (content);
817
815
},
818
816
cache: {
819
- directory: path .resolve (__dirname , " cache-directory" ),
820
817
keys: async (defaultCacheKeys , absoluteFrom ) => {
821
818
const keys = await getCustomCacheInvalidationKeysAsync ();
822
819
You can’t perform that action at this time.
0 commit comments