bigcommerce / catalyst

Catalyst - for Composable Commerce
https://catalyst-demo.site
MIT License
93 stars 65 forks source link

chore(core): add bundle analyzer #1336

Closed deini closed 1 week ago

deini commented 1 week ago

What/Why?

Adds a new build:analyze command, I've been using it in my latest PRs to debug our middleware bundle.

vercel[bot] commented 1 week ago

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

Name Status Preview Comments Updated (UTC)
catalyst-latest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 5, 2024 8:36pm
7 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **catalyst** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst/G9NNtaCumdYiEW7eT22jg3tjc9bD)) | | | Sep 5, 2024 8:36pm | | **catalyst-1millionproducts-store** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-1millionproducts-store/BtCWxC9gMD3S3riNp3oRhNFXxwAo)) | [Visit Preview](https://catalyst-1millionproducts-store-git-5bda7e-bigcommerce-platform.vercel.app) | | Sep 5, 2024 8:36pm | | **catalyst-au** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-au/6iDFznMf8R8V8ZCkTm3RgbUCeNGw)) | [Visit Preview](https://catalyst-au-git-bundle-analyzer-bigcommerce-platform.vercel.app) | | Sep 5, 2024 8:36pm | | **catalyst-staging** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-staging/EAnN3yFeP52oFLMwvTqBBfBMbzzz)) | [Visit Preview](https://catalyst-staging-git-bundle-analyzer-bigcommerce-platform.vercel.app) | | Sep 5, 2024 8:36pm | | **catalyst-test-store** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-test-store/D4vWMcsw18kSLREVkfvpDTUNK5DL)) | [Visit Preview](https://catalyst-test-store-git-bundle-analyzer-bigcommerce-platform.vercel.app) | | Sep 5, 2024 8:36pm | | **catalyst-uk** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-uk/3fhKmuFQwpamqEU7nkbMeTUHKUsD)) | [Visit Preview](https://catalyst-uk-git-bundle-analyzer-bigcommerce-platform.vercel.app) | | Sep 5, 2024 8:36pm | | **catalyst-unstable** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-unstable/CfdHKhfZcfCFaXoEEuuU5JX6kf7J)) | [Visit Preview](https://catalyst-unstable-git-bundle-analyzer-bigcommerce-platform.vercel.app) | | Sep 5, 2024 8:36pm |
changeset-bot[bot] commented 1 week ago

⚠️ No Changeset found

Latest commit: 852707e7eaf868e0f396d68341ee8ff6ed5c8e3e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

github-actions[bot] commented 1 week ago

⚡️🏠 Lighthouse report

Lighthouse ran against https://catalyst-latest-q4v2y58vi-bigcommerce-platform.vercel.app

🖥️ Desktop

We ran Lighthouse against the changes on a desktop and produced this report. Here's the summary:

Category Score
🟠 Performance 87
🟢 Accessibility 100
🟢 Best practices 96
🟠 SEO 82

📱 Mobile

We ran Lighthouse against the changes on a mobile and produced this report. Here's the summary:

Category Score
🟢 Performance 90
🟢 Accessibility 100
🟢 Best practices 96
🟠 SEO 85