fix: npm run build fails if dist folder does not exist

fixes #5