Box collider and sprite question

I have a weapon object that changes its sprite depending on which weapon i have equipped. This works great except the swords are different sizes and the box collider stays the same obviously because it on the same object. Is there a way to add a different sized box collider to each sword sprite?

Well, easy but tediuos but also keep things in order. Create each weapon prefab and then switch the object instead of only the sprite.

Easy way but you need to know your way into your code really good if you have alot of weapons. You can change your box collider using BoxCollider2D.size