Unverified Commit 74c4baeb authored by Joe Haddad's avatar Joe Haddad Committed by GitHub
Browse files

Normalize babel caching across the board (#5053)

parent f9849a26
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 9 additions and 0 deletions
+9 -0
...@@ -249,6 +249,8 @@ module.exports = { ...@@ -249,6 +249,8 @@ module.exports = {
// It enables caching results in ./node_modules/.cache/babel-loader/ // It enables caching results in ./node_modules/.cache/babel-loader/
// directory for faster rebuilds. // directory for faster rebuilds.
cacheDirectory: true, cacheDirectory: true,
// Don't waste time on Gzipping the cache
cacheCompression: false,
highlightCode: true, highlightCode: true,
}, },
}, },
...@@ -276,6 +278,8 @@ module.exports = { ...@@ -276,6 +278,8 @@ module.exports = {
require.resolve('babel-preset-react-app/dependencies'), require.resolve('babel-preset-react-app/dependencies'),
], ],
cacheDirectory: true, cacheDirectory: true,
// Don't waste time on Gzipping the cache
cacheCompression: false,
highlightCode: true, highlightCode: true,
}, },
}, },
......
...@@ -282,6 +282,9 @@ module.exports = { ...@@ -282,6 +282,9 @@ module.exports = {
}, },
], ],
], ],
cacheDirectory: true,
// Save disk space when time isn't as important
cacheCompression: true,
compact: true, compact: true,
highlightCode: true, highlightCode: true,
}, },
...@@ -305,6 +308,8 @@ module.exports = { ...@@ -305,6 +308,8 @@ module.exports = {
require.resolve('babel-preset-react-app/dependencies'), require.resolve('babel-preset-react-app/dependencies'),
], ],
cacheDirectory: true, cacheDirectory: true,
// Save disk space when time isn't as important
cacheCompression: true,
highlightCode: true, highlightCode: true,
}, },
}, },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment