Skip to content

Commit

Permalink
Disable babel-loader's cacheCompression (#7633)
Browse files Browse the repository at this point in the history
  • Loading branch information
jleclanche authored and ianschmitz committed Sep 9, 2019
1 parent 1f46136 commit bb31710
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/react-scripts/config/webpack.config.js
Expand Up @@ -429,7 +429,8 @@ module.exports = function(webpackEnv) {
// It enables caching results in ./node_modules/.cache/babel-loader/
// directory for faster rebuilds.
cacheDirectory: true,
cacheCompression: isEnvProduction,
// See #6846 for context on why cacheCompression is disabled
cacheCompression: false,
compact: isEnvProduction,
},
},
Expand All @@ -450,7 +451,8 @@ module.exports = function(webpackEnv) {
],
],
cacheDirectory: true,
cacheCompression: isEnvProduction,
// See #6846 for context on why cacheCompression is disabled
cacheCompression: false,
// @remove-on-eject-begin
cacheIdentifier: getCacheIdentifier(
isEnvProduction
Expand Down

0 comments on commit bb31710

Please sign in to comment.