(#2606) - make sure dist files are in npm

I have no idea if this actually works, and I don't have time to test it because I've gotta get to work. Will research later unless someone else has time.