bestofjs / bestofjs

:star: A place to find the best components to build amazing web applications. The best of JavaScript!
https://bestofjs.org
MIT License
2.62k stars 141 forks source link

Add workflow for next.js bundle analyzer #255

Open Evomatic opened 7 months ago

Evomatic commented 7 months ago

Adding the next.js bundle analysis github action could be a nice way to visualize each PR's impact on the app's bundle size without having to manually run the script. This action would display the generated analysis using a comment in a PR.

For more details on the motivation for adding the bundle analyzer check out https://github.com/bestofjs/bestofjs/issues/240

Initial implementation of the bundle analyzer in a PR: https://github.com/bestofjs/bestofjs/pull/245