Use reject on errors
Add dist files