Hosting a production React app built with Wepback on Heroku

You need to put webpack (as well as any other dependencies that you need on Heroku) under “dependencies” in your package.json, not under “devDependencies”.

Leave a Comment