Group small chunks in shared js section of output (#60479)
In the output shared js chunks section we're showing all shared chunks atm, some of them might be too small (few bytes) due to code split. e.g. in the below example, main-app is only `218B`, we're going to group all the chunks below 10KB together into one item line #### Before ``` + First Load JS shared by all 81.9 kB ├ chunks/381-ffe155bc1c63f064.js 26.7 kB ├ chunks/8766613a-1f3d501627fe8359.js 53.3 kB ├ chunks/main-app-80d2c0fe59f30ae2.js 218 B └ chunks/webpack-e6edcd8ebd35b832.js 1.68 kB ``` #### After ``` + First Load JS shared by all 83.7 kB ├ chunks/4921c021-73266f862a05e4e2.js 53.3 kB ├ chunks/596-73310d23ef824244.js 28.6 kB └ other shared chunks (total) 1.83 kB ``` Closes NEXT-2046 Closes NEXT-1970
Showing
Please
register
or
sign in
to comment