From 929af7d8be4959cd7f11b322f3fb51a2b675f698 Mon Sep 17 00:00:00 2001 From: Oleksii Bulenok <63914185+abulenok@users.noreply.github.com> Date: Tue, 18 Aug 2026 22:11:09 +0200 Subject: [PATCH] Add statsOptions to Webpack configuration (#11495) --- webpack.config.js | 2 ++ 1 file changed, 2 insertions(+) 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}, }), ) }