You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 since bee-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.
if you're committed to handlebars I understand, but if not you may want to consider using a lighter-weight view framework. eta or preact come to mind but I'm sure there are many others.
in the same vein, dayjs is a smaller alternative to moment 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:
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: