-
Notifications
You must be signed in to change notification settings - Fork 235
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
This package is quite large #383
Comments
You're right - this package is very large for what it does. Your ideas are great. PRs would be appreciated! |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all - I'm really glad that
bee-queue
has a full-featured monitoring dashboard and I don't want to look this particular gift horse in the mouth, but at a 14.5 MB install sizebull-arena
is one of my largest dependencies (it might be the largest in fact). Truthfully I wasn't expecting arena to be this heavyweight, especially since it looks like it features embedding as a first-class use case, and sincebee-queue
has such an emphasis on size and simplicity.Has there been any thought on how to make this package smaller? Here are a few things that jumped out at me looking at your
package.json
:lodash
looks like it's used in only a handful of places; using per-method packages instead of a bulk import would be a bit more work but is probably be a pretty cost-effective way to save some space.handlebars
I understand, but if not you may want to consider using a lighter-weight view framework.eta
orpreact
come to mind but I'm sure there are many others.dayjs
is a smaller alternative tomoment
that you may want to look into.Happy to submit a PR for any of these if you decide any one of them are worth pursuing, and of course feel free to ignore this if work is already being done to make arena more compact, or if there are good reasons why it can't be smaller. Thanks for taking a look!
The text was updated successfully, but these errors were encountered: