razzle-heroku

Make razzle work on heroku seamlessly

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
razzle-heroku
1603.0.05 years ago6 years agoMinified + gzip package size for razzle-heroku in KB

Readme

razzle-heroku Build Status
Make razzle work on heroku seamlessly.

Quickstart :rocket:

  1. Install razzle-heroku (npm i -S razzle-heroku or yarn add razzle-heroku)
  2. 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
environment variables still need to be prefixed by RAZZLE_
  • Bind the $PORT at runtime
  • Fix RAZZLE_PUBLIC_DIR on heroku