by kreativgebiet

GitHub Readme.md

Heroku Buildpack for webpack

This is a Heroku buildpack for web applications that use webpack.


The bin/compile script run webpack with the default configuration file (webpack.config.js in your main directory). To use the buildpack:

  1. Specify our buildpack as the priorized one, for now:

    $ heroku buildpacks:set https://github.com/kreativgebiet/heroku-buildpack-webpack
  2. Add the heroku/nodejs buildpack back at index=1:

$ heroku buildpacks:add --index 1 heroku/nodejs
  1. Deploy a new version of your app to Heroku.