mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-28 09:25:42 +08:00
Disable babel-loader's cacheCompression (#7633)
This commit is contained in:
committed by
Ian Schmitz
parent
1f46136d96
commit
bb31710123
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user