Bangladeshis do a very good job of feeding themselves, as they possess the most fertile land in the world. It only takes something like a half-acre to feed a whole family year round.
Besides needing to maintain independence from Pakistan, they also have a common border with Myanmar (Burma). So they have some worries.
These are light attack/trainers, which are perfect for a country like Bangladesh, because they are cheap $33 million each, and much easier to maintain. Yet, they can provide ground attack and some air-to-air capability against a similar opponent.
Although India would likely take on the bulk of the fighting against Pakistan, Bangladesh is expected to do what they can, e.g. Denmark's role in NATO.
Not too difficult, I would think, since to attack Bangladesh Pakistan would need to fight its way clear across India. Which is by itself considerably more militarily powerful than Pakistan.