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

Use @code-hike/lighter #308

Merged
merged 35 commits into from
Jan 15, 2023
Merged

Use @code-hike/lighter #308

merged 35 commits into from
Jan 15, 2023

Conversation

pomber
Copy link
Contributor

@pomber pomber commented Dec 14, 2022

πŸ“¦ Published PR as canary version: 0.8.0--canary.308.6cc554b.0

✨ Test out this PR locally via:

npm install @code-hike/[email protected]
# or 
yarn add @code-hike/[email protected]

Version

Published prerelease version: v0.8.0-next.0

Changelog

πŸš€ Enhancement

πŸ› Bug Fix

Authors: 2

@vercel
Copy link

vercel bot commented Dec 14, 2022

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated
chtest βœ… Ready (Inspect) Visit Preview πŸ’¬ Add your feedback Jan 15, 2023 at 7:39PM (UTC)
playground βœ… Ready (Inspect) Visit Preview πŸ’¬ Add your feedback Jan 15, 2023 at 7:39PM (UTC)

@vercel vercel bot temporarily deployed to Preview – playground December 14, 2022 20:23 Inactive
@vercel vercel bot temporarily deployed to Preview – chtest December 14, 2022 20:25 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Dec 14, 2022

πŸ“¦ Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action πŸ€–

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 74.2 KB (🟑 +2.39 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!

Six Pages Changed Size

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

Page Size (compressed) First Load % of Budget (350 KB)
/_error 181 B 74.38 KB 21.25% (+/- <0.01%)
/js-page 317 B 74.51 KB 21.29% (+/- <0.01%)
/just-code 33.81 KB 108.01 KB 30.86% (🟑 +0.02%)
/no-ch-mdx 1.04 KB 75.25 KB 21.50% (🟑 +0.17%)
/scrollycoding-preview 37.04 KB 111.24 KB 31.78% (🟑 +0.02%)
/spotlight 34.42 KB 108.62 KB 31.03% (🟑 +0.02%)
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

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@vercel vercel bot temporarily deployed to Preview – chtest December 16, 2022 15:54 Inactive
@vercel vercel bot temporarily deployed to Preview – playground December 16, 2022 15:58 Inactive
@pomber pomber added minor release PR created automatically for new releases labels Dec 17, 2022
@vercel vercel bot temporarily deployed to Preview – chtest December 17, 2022 12:42 Inactive
@pomber pomber changed the title Fix examples Use @code-hike/lighter Dec 17, 2022
@vercel vercel bot temporarily deployed to Preview – playground December 17, 2022 12:47 Inactive
@vercel vercel bot temporarily deployed to Preview – chtest December 17, 2022 17:10 Inactive
@vercel vercel bot temporarily deployed to Preview – playground December 17, 2022 17:14 Inactive
@vercel vercel bot temporarily deployed to Preview – playground December 17, 2022 17:47 Inactive
@vercel vercel bot temporarily deployed to Preview – chtest December 17, 2022 17:48 Inactive
@vercel vercel bot temporarily deployed to Preview – chtest December 17, 2022 18:02 Inactive
@vercel vercel bot temporarily deployed to Preview – playground December 17, 2022 18:04 Inactive
@vercel vercel bot temporarily deployed to Preview – chtest December 23, 2022 14:15 Inactive
@vercel vercel bot temporarily deployed to Preview – playground January 13, 2023 15:55 Inactive
@vercel vercel bot temporarily deployed to Preview – chtest January 15, 2023 10:20 Inactive
@vercel vercel bot temporarily deployed to Preview – playground January 15, 2023 10:25 Inactive
@vercel vercel bot temporarily deployed to Preview – chtest January 15, 2023 10:28 Inactive
@vercel vercel bot temporarily deployed to Preview – playground January 15, 2023 10:29 Inactive
@vercel vercel bot temporarily deployed to Preview – chtest January 15, 2023 11:38 Inactive
@vercel vercel bot temporarily deployed to Preview – playground January 15, 2023 11:42 Inactive
@vercel vercel bot temporarily deployed to Preview – chtest January 15, 2023 11:54 Inactive
@vercel vercel bot temporarily deployed to Preview – playground January 15, 2023 11:58 Inactive
@vercel vercel bot temporarily deployed to Preview – chtest January 15, 2023 19:34 Inactive
@vercel vercel bot temporarily deployed to Preview – playground January 15, 2023 19:39 Inactive
@pomber pomber merged commit 9355b47 into next Jan 15, 2023
@pomber pomber deleted the workspace-nohoist branch January 15, 2023 19:47
@github-actions
Copy link
Contributor

πŸš€ PR was released in v0.8.0 πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release PR created automatically for new releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants