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:
-
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.