For instance this output
Route (app) Size First Load JS
┌ ○ / 145 B 82 kB
├ ○ /_not-found 869 B 82.7 kB
├ λ /[slug] 145 B 82 kB
├ λ /api/test 0 B 0 B
├ λ /api/test/test2 0 B 0 B
└ ○ /static 145 B 82 kB
+ First Load JS shared by all 81.8 kB
├ chunks/938-5e061ba0d46125b1.js 26.7 kB
├ chunks/fd9d1056-735d320b4b8745cb.js 53.3 kB
├ chunks/main-app-e70e3644c45bd540.js 220 B
└ chunks/webpack-7f3c39ccc24bf838.js 1.65 kB
I don't think there's any way of writing those stats to a file in say the .next directory is there? Ideally JSON format. It's not a feature of @next/bundle-analyzer