What happens to the darkness spell if it is cast on an object that then breaks?

If darkness is cast on a breakable object such as a clay flask of oil, and an action is then used to smash the flask on the floor, what would happen to the spell? Would it still remain active on each shard of the flask and therefore be a way to cover more area?