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(docs): add bundle-diff documents #546

Merged
merged 2 commits into from
Sep 30, 2024
Merged

chore(docs): add bundle-diff documents #546

merged 2 commits into from
Sep 30, 2024

Conversation

easy1090
Copy link
Contributor

@easy1090 easy1090 commented Sep 30, 2024

Summary

chore(docs): add bundle-diff documents

Related Links

#178

Copy link

netlify bot commented Sep 30, 2024

Deploy Preview for rsdoctor ready!

Name Link
🔨 Latest commit be23f1d
🔍 Latest deploy log https://app.netlify.com/sites/rsdoctor/deploys/66fa4c63eda0c80008c24a9e
😎 Deploy Preview https://deploy-preview-546--rsdoctor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@easy1090 easy1090 merged commit 40bf594 into main Sep 30, 2024
8 checks passed
@easy1090 easy1090 deleted the docs/bundle-diff branch September 30, 2024 07:07
@@ -49,6 +49,25 @@ rsdoctor analyze --profile <manifestFile>
rsdoctor analyze --profile "./dist/.rsdoctor/manifest.json"
```

### `bundle-diff` Command

The `bundle-diff` command is used to load **two** [manifest.json](/config/options/term#manifestjson) files **locally** and open the Rsdoctor [Bundle Diff](../usage/bundle-diff) page for **comparison and analysis of build bundles**.
Copy link

Choose a reason for hiding this comment

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

What would be great if possible is to generate the diff as a comment that we can automatically post to PRs

A bit similar to this: facebook/docusaurus#10402 (comment)

Copy link

Choose a reason for hiding this comment

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

Ah, just read the blog post!

Plans to support Bundle Diff Action on GitHub to simplify degradation monitoring during the CI phase.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@slorber Thank you for the suggestion! We will implement this feature.

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