Unverified Commit c6ba688c authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

disable cache compression as it slows down the build (#27887)

parent 331fed89
...@@ -1446,6 +1446,8 @@ export default async function getBaseWebpackConfig( ...@@ -1446,6 +1446,8 @@ export default async function getBaseWebpackConfig(
// - next.config.js keys that affect compilation // - next.config.js keys that affect compilation
version: `${process.env.__NEXT_VERSION}|${configVars}`, version: `${process.env.__NEXT_VERSION}|${configVars}`,
cacheDirectory: path.join(distDir, 'cache', 'webpack'), cacheDirectory: path.join(distDir, 'cache', 'webpack'),
// we assume that the CI already uses cache compression
compression: false,
} }
// Adds `next.config.js` as a buildDependency when custom webpack config is provided // Adds `next.config.js` as a buildDependency when custom webpack config is provided
......
Markdown is supported
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