This buildpack accomplishes three things:
- Modules in marketing-sites use relative paths pointing to where they expect
modules
to be (in the root of the repository). So first this buildpack sets up a folder structure to account for this. - It copies the Procfile to where Heroku expects it to be.
- It removes unneeded files to cut down on Heroku slug size.
This buildpack is meant to be listed after the Node buildpack in your Heroku buildpacks list.