Add statsOptions to Webpack configuration (#11495)
This commit is contained in:
@@ -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},
|
||||
}),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user