A buildpack to support Heroku deployments with polymer-cli.
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.
After the release of registered buildpacks, it will be available under
lingolive/polymer-cli-buildpack, adhearing to the suggested naming
First, check your Heroku app has the Ruby and Node buildpacks added, in the command line run:
If they are added you should see:
your-app-1234 Buildpack 1. heroku/nodejs 2. heroku/ruby
To add the Polymer CLI Rails buildpack in the last index, run this command:
heroku buildpacks:add --index 3 https://github.com/lingolive/polymer-cli-buildpack.git
On deployment, the buildpack runs the build command
polymer build or
detect which one to use automatically, based on the persence of a version-lock file.
Projects that use yarn have
yarn.lock file, while those that use npm have a
(or none if using an older version of
This buildpack will set the
YARN environment variable accordingly, which
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
Forked from https://github.com/febeling/webpack-rails-buildpack on August 18, 2018.
polymer-cli-buildpack built and maintained by Lingo Live https://github.com/febeling/webpack-rails-buildpack by Florian Ebeling.
See LICENSE.md file.
Copy the snippet above into CLI.