A buildpack to support Heroku deployments with webpack-rails.
Add a custom buildpack to your to your applications Settings tab under section Buildpacks by using the URL of this repository, instead of the short name of Heroku's own buildpacks. It goes alongside your Ruby and Node buildpacks, placed in last position. From the command line run:
heroku buildpacks:add https://github.com/febeling/webpack-rails-buildpack.git
On deployment, the buildpack runs the build command
bundle exec rake
webpack:compile. Under default configuration that will output the
compiled assets under
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
Started on 5 June 2016.
Created by Florian Ebeling.
See LICENSE.md file.
Copy the snippet above into CLI.