webpack-railshttps://github.com/mipearson/webpack-railsProcfilefrom webpack-rails can be renamed toProcfile.devto not conflict with Heroku, then run in dev withforeman start -f Procfile.dev- for convenience:
bin/dev(chmod +x):foreman start -f Procfile.dev
- for convenience:
- custom buildpack to include
webpack:compilestep https://github.com/patbenatar/heroku-buildpack-webpack - disable
webpack-dev-serverin non-dev environments:config.webpack.dev_server.enabled = false
Reference implementation on cardsorter: https://github.com/philosophie/cardsorter/commit/46285b42383ecfd77706fbedaf6654bdd14ebe99