Unverified Commit 8444c1ff authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Update stats-config to be more deterministic (#8679)

parent 92e26ce1
...@@ -89,6 +89,7 @@ module.exports = { ...@@ -89,6 +89,7 @@ module.exports = {
path: 'next.config.js', path: 'next.config.js',
content: ` content: `
module.exports = { module.exports = {
generateBuildId: () => 'BUILD_ID',
webpack(config) { webpack(config) {
config.optimization.minimize = false config.optimization.minimize = false
config.optimization.minimizer = undefined config.optimization.minimizer = undefined
...@@ -109,6 +110,7 @@ module.exports = { ...@@ -109,6 +110,7 @@ module.exports = {
path: 'next.config.js', path: 'next.config.js',
content: ` content: `
module.exports = { module.exports = {
generateBuildId: () => 'BUILD_ID',
experimental: { experimental: {
modern: true, modern: true,
granularChunks: true granularChunks: true
...@@ -134,6 +136,7 @@ module.exports = { ...@@ -134,6 +136,7 @@ module.exports = {
path: 'next.config.js', path: 'next.config.js',
content: ` content: `
module.exports = { module.exports = {
generateBuildId: () => 'BUILD_ID',
target: 'serverless', target: 'serverless',
experimental: { experimental: {
modern: true, modern: true,
......
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