A simple deployment ready webpack-react application for heroku. Please follow the link for detailed explanation: https://codeburst.io/deploy-your-webpack-apps-to-heroku-in-3-simple-steps-4ae072af93a8
- Clone this repo
- Run
npm install
- Run
npm run dev
, localhost:8080 will open up in your default browser
- Run
webpack -p
- Run
node server.js
, and visit localhost:8080, voila your code is ready for heroku now.