diff --git a/webpack.config.js b/webpack.config.js index 412d2a2c03..24cfb2097a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -145,6 +145,8 @@ module.exports = async function (env, argv) { statsFilename: '../stats.json', analyzerMode: OPEN_ANALYZER ? 'server' : 'json', defaultSizes: 'parsed', + // reasons balloon stats.json past Node's max string length, breaking bundle-size-diff in CI + statsOptions: OPEN_ANALYZER ? null : {reasons: false}, }), ) }