aws-amplify / aws-amplify/amplify-hosting

[GitHub App] - Add build size outputs for Next.js & create-react-app, preferably with diffs to base of branch

Open
#2,294 1 comment 1 reaction 0 assignees View on GitHub
feature-request
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

The new GitHub App is convenient for links

image

**Describe the solution you'd like**

The GitHub App comment can be expanded to include more useful content. I built a bundle size change diff relative to the base branch for Next.js. This would be useful to add to the GitHub App comment.

Related: #2293

**Additional context**

Screenshot of what I implemented for our team:

![](https://user-images.githubusercontent.com/12538019/135632760-f9eb75e0-4e77-425a-bede-77ea0934310d.png)

Contributor guide

Open the contributing guide

Research direction

Begin by locating the GitHub App comment generation and reviewing related issue #2293. Determine how Next.js and create-react-app builds are measured and how base-branch comparisons are represented; done means the comment reports build-size outputs and diffs for both frameworks.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, next.js, react
Domain
ci-cd, developer-experience, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.