I do not know if any of you have come across the same issue I had:
Having to register a set a set of scripts but they are not rendered in the order I wanted as one to function properly required another one to be registered first. I know that packages should have solved that problem but they didnt in my case.
I believe that if scripts to be rendered, whether single or through a package should have a ‘weight’ property so to tell the component which one was before than the other. To solve this issue I always end up echoing the scripts the way I wanted and even pre-compressed them and telling script map their replacement. But I think that incorporating a ‘weight’ attribute will solve it nicely -the idea is not mine but I fully agree with it.
Also, I would like that minifying/compressing/caching should be supported natively.