Find out what's new with Heroku on our blog.
by dabapps
GitHub Readme.md
Cleanup many things from a Heroku slug after build:
node_modules/
Install https://github.com/dabapps/heroku-buildpack-cleanup as a buildpack. It's that simple
https://github.com/dabapps/heroku-buildpack-cleanup
Copy the snippet above into CLI.