Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add swcMinify #505

Merged
merged 2 commits into from
Aug 22, 2022
Merged

chore: add swcMinify #505

merged 2 commits into from
Aug 22, 2022

Conversation

bigint
Copy link
Member

@bigint bigint commented Aug 22, 2022

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking small changes to existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@vercel
Copy link

vercel bot commented Aug 22, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
lenster ✅ Ready (Inspect) Visit Preview Aug 22, 2022 at 7:27AM (UTC)

@vercel vercel bot temporarily deployed to Preview August 22, 2022 07:24 Inactive
@github-actions
Copy link
Contributor

Size Changes

📦 Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 129.16 KB (🟡 +1.09 KB)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Twenty-four Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/ 509.01 KB (🟡 +8.25 KB) 638.17 KB
/404 23.44 KB (🟡 +225 B) 152.6 KB
/500 23.45 KB (🟡 +221 B) 152.61 KB
/Providers 459.68 KB (🟡 +7.16 KB) 588.84 KB
/_error 236 B (🟢 -8 B) 129.39 KB
/communities 43.8 KB (🟡 +226 B) 172.96 KB
/communities/[id] 481.68 KB (🟡 +7.29 KB) 610.84 KB
/contact 40.1 KB (🟡 +1.12 KB) 169.26 KB
/explore 474.37 KB (🟡 +7.31 KB) 603.54 KB
/new/community 484.48 KB (🟡 +8.35 KB) 613.64 KB
/new/crowdfund 485.54 KB (🟡 +8.35 KB) 614.7 KB
/new/profile 475.26 KB (🟡 +8.16 KB) 604.43 KB
/notifications 62.08 KB (🟡 +514 B) 191.24 KB
/posts/[id] 627.27 KB (🟡 +10.51 KB) 756.44 KB
/privacy 25.79 KB (🟡 +413 B) 154.96 KB
/report/[id] 630.34 KB (🟡 +10.5 KB) 759.5 KB
/search 626.04 KB (🟡 +10.49 KB) 755.21 KB
/settings 514.69 KB (🟡 +8.48 KB) 643.85 KB
/settings/account 495.66 KB (🟡 +8.2 KB) 624.82 KB
/settings/allowance 491.48 KB (🟡 +8.14 KB) 620.64 KB
/settings/delete 472.48 KB (🟡 +7.3 KB) 601.64 KB
/settings/dispatcher 474.91 KB (🟡 +7.3 KB) 604.08 KB
/thanks 26.93 KB (🟡 +418 B) 156.09 KB
/u/[username] 499.4 KB (🟡 +8.22 KB) 628.56 KB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 10% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

@bigint bigint merged commit 75a25e0 into main Aug 22, 2022
@bigint bigint deleted the scrollRestoration branch August 22, 2022 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant