Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lujanfernaud/c8fe83a0172112cb2787d59442b44daa to your computer and use it in GitHub Desktop.
Save lujanfernaud/c8fe83a0172112cb2787d59442b44daa to your computer and use it in GitHub Desktop.
Heroku: Reduce Slug Size With .slugignore

Heroku: Reduce Slug Size With .slugignore

Adding a .slugignore file to the root folder of the project will make Heroku to remove the files and folders referenced after we push code to Heroku and the buildpack runs.

What is the Slug?

A compressed copy of the application comprising all files in the git repo along with packages installed during deployment.

Sources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment