Disable babel-loader's cacheCompression (#7633)

This commit is contained in:
Jerome Leclanche
2019-09-09 03:48:30 +02:00
committed by Ian Schmitz
parent 1f46136d96
commit bb31710123

View File

@@ -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,
},
},
@@ -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