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

[RFC] Support BundleBuddy #331

Closed
3 tasks done
louisgv opened this issue Dec 11, 2022 · 0 comments · Fixed by #339
Closed
3 tasks done

[RFC] Support BundleBuddy #331

louisgv opened this issue Dec 11, 2022 · 0 comments · Fixed by #339
Assignees
Labels
enhancement New feature or request

Comments

@louisgv
Copy link
Contributor

louisgv commented Dec 11, 2022

How do you envision this feature/change to look/work like?

When running plasmo build --bundle-buddy, it should output an instrumented zip containing instructions for developer to visualize their dependencies on https://www.bundle-buddy.com/

What is the purpose of this change/feature? Why?

We are seeing large extension projects suffering from bundle bloating - i.e, their dependency containing hidden dependencies that caused the entire bundle to bloat to about 300MB or even more. Worst yet, the parcel cache can sometimes grow to about 300GB ?!

To debug these issues, devs need to visualize and understand what is being bundled into the extension.

(OPTIONAL) Example implementations

https://parceljs.org/features/production/#bundle-buddy

(OPTIONAL) Contact Details

No response

Verify canary release

  • I verified that the issue exists in plasmo canary release

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.
@louisgv louisgv added the enhancement New feature or request label Dec 11, 2022
@louisgv louisgv self-assigned this Dec 15, 2022
@louisgv louisgv linked a pull request Dec 15, 2022 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant