Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat: add Codecov bundle analysis support #4256

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
Loading
from

Conversation

RulaKhaled
Copy link

Add Webpack bundle analysis integration to track bundle size changes over time and in PRs. Since the repository already uses Codecov for coverage reporting, this adds bundle size tracking with minimal configuration, this will help monitor bundle size changes and prevent unexpected increases in future PRs.

Copy link

codesandbox bot commented Apr 22, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

vercel bot commented Apr 22, 2025

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

Name Status Preview Comments Updated (UTC)
rsuite-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2025 2:10pm
rsuite-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2025 2:10pm

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@simonguo
Copy link
Member

Hi @RulaKhaled

We have added size-limit and its corresponding workflow to the next branch.

@simonguo simonguo requested a review from Copilot April 23, 2025 13:22
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for Codecov bundle analysis to monitor webpack bundle size changes over time and in PRs.

  • Introduces a new require for codecovWebpackPlugin from "@codecov/webpack-plugin".
  • Integrates the Codecov plugin in the webpack config with conditional bundle analysis based on the presence of CODECOV_TOKEN.
Files not reviewed (1)
  • package.json: Language not supported

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.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.