razzle-heroku
razzle-heroku copied to clipboard
Make razzle work on heroku seamlessly.
razzle-heroku 
Make razzle work on heroku seamlessly.
Quickstart :rocket:
- Install
razzle-heroku(npm i -S razzle-herokuoryarn add razzle-heroku) - Create a
razzle.config.jsin your project root
module.exports = {
modify: require("razzle-heroku"),
}
For more details, you can check this commit :)
Features
- Allow your server to read environment variables at runtime. Client
environment variables still need to be prefixed by
RAZZLE_ - Bind the
$PORTat runtime - Fix
RAZZLE_PUBLIC_DIRon heroku