Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 683 Bytes

deployment.md

File metadata and controls

6 lines (5 loc) · 683 Bytes

Deployment

  • React on Rails puts the necessary precompile steps automatically in the rake precompile step. You can, however, disable this by setting certain values to nil in the config/initializers/react_on_rails.rb.
    • build_production_command: Set to nil to turn off the precompilation of the js assets.
    • config.symlink_non_digested_assets_regex: Default is nil, turning off the setup of non-js assets. This should be nil except when when using Sprockets rather than Webpacker.
  • See the Heroku Deployment doc for specifics regarding Heroku. The information for Heroku may apply to other deployments.