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”.
More Related Contents:
- heroku – how to see all the logs
- Easy way to prevent Heroku idling?
- How to use heroku’s ephemeral filesystem
- Heroku does NOT compile files under assets pipelines in Rails 4
- Redeploy Heroku app without code changes
- No permanent filesystem for Heroku?
- Heroku + gunicorn not working (bash: gunicorn: command not found )
- Force my heroku app to use SSL (https)
- Heroku missing required flag: -a,
- Webpack for back-end?
- How to avoid the –app option with heroku CLI?
- How to add .env file or otherwise set environment variables in a Heroku app?
- How to configure heroku application DNS to Godaddy Domain?
- Deploying Flask with Heroku
- ‘heroku’ does not appear to be a git repository
- SSH tunneling from Heroku
- How to hide databases that I am not allowed to access
- Recompile Heroku slug without push or config change
- How can I pull an existing heroku app to new location for development?
- Static IP Address with Heroku (not Proximo)
- Heroku Boot Timeout (Error R10)
- How to copy static files to build directory with Webpack?
- Heroku Postgres Error: PGError: ERROR: relation “organizations” does not exist (ActiveRecord::StatementInvalid)
- Webpack babel 6 ES6 decorators
- Deploying Flask app to Heroku
- How to set favicon.ico properly on vue.js webpack project?
- Heroku free account limited?
- Heroku: “No default language could be detected for this app” error thrown for node app
- Django static files on heroku
- How to dynamically import SVG and render it inline