Add statsOptions to Webpack configuration (#11495)

This commit is contained in:
Oleksii Bulenok
2026-08-18 22:11:09 +02:00
committed by GitHub
parent cc3622b583
commit 929af7d8be
+2
View File
@@ -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},
}),
)
}