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:
-
Use the multi buildpack:
$ heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi
-
Configure your
.buildpacks
file:https://github.com/heroku/heroku-buildpack-nodejs https://github.com/jerrysu/heroku-buildpack-webpack
-
Deploy to Heroku.