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:
-
Specify our buildpack as the priorized one, for now:
$ heroku buildpacks:set https://github.com/kreativgebiet/heroku-buildpack-webpack
-
Add the
heroku/nodejs
buildpack back atindex=1
:
$ heroku buildpacks:add --index 1 heroku/nodejs
- Deploy a new version of your app to Heroku.