Hi there. I made a boilerplate to use in my next projects of backend. https://github.com/lubien/koa-react-boilerplate
But, when I try to deploy to heroku I get timeout because of the time it takes to build webpack scripts
Anyone knows some way to bypass heroku’s timeout?
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
In FCC’s chat we found out that we could use npm’s
postinstall hook to build everything on each deploy.
Thanks to @jomcode
I’ll keep this topic to help other people with the same problem