Make razzle work on heroku seamlessly.
For more details, you can check this commit :)
Quickstart :rocket:
- Install
razzle-heroku
(npm i -S razzle-heroku
oryarn add razzle-heroku
) - Create a
razzle.config.js
in 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
RAZZLE_
- Bind the
$PORT
at runtime - Fix
RAZZLE_PUBLIC_DIR
on heroku