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 = {
730730
731731##### ` object `
732732
733- Enables ` transform ` caching and setup cache directory and invalidation keys.
733+ Enables ` transform ` caching and setup invalidation keys.
734734
735735** webpack.config.js**
736736
@@ -747,7 +747,6 @@ module.exports = {
747747 return optimize (content);
748748 },
749749 cache: {
750- directory: path .resolve (__dirname , " cache-directory" ),
751750 keys: {
752751 // May be useful for invalidating cache based on external values
753752 // For example, you can invalid cache based on `process.version` - { node: process.version }
@@ -781,7 +780,6 @@ module.exports = {
781780 return optimize (content);
782781 },
783782 cache: {
784- directory: path .resolve (__dirname , " cache-directory" ),
785783 keys : (defaultCacheKeys , absoluteFrom ) => {
786784 const keys = getCustomCacheInvalidationKeysSync ();
787785
@@ -816,7 +814,6 @@ module.exports = {
816814 return optimize (content);
817815 },
818816 cache: {
819- directory: path .resolve (__dirname , " cache-directory" ),
820817 keys: async (defaultCacheKeys , absoluteFrom ) => {
821818 const keys = await getCustomCacheInvalidationKeysAsync ();
822819
You can’t perform that action at this time.
0 commit comments