Add-ons, mods and other freebies are often about solving a problem, learning something new or simply contributing to the community. I doubt you're alone in feeling regret about giving a thing away that you later see people pay for out of someone else, but it doesn't mean the work went to waste or that you somehow squandered the one chance you to contribute materially.