I had to remove the lib for npm build to work
Blank .npmignore makes npm ignore .gitignore