heroku-buildpack-webpack

by hamham91

GitHub Readme.md

Heroku Buildpack for webpack

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

Usage

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/hamham91/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.