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
-
Deploy to Heroku.