You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Shown below are the defaults for configurationReactOnRails.configuredo |config|
# Client bundles are configured in application.js# Server rendering:# Server bundle is a single file for all server rendering of components.config.server_bundle_js_file="app/assets/javascripts/generated/server-bundle.js"
We're setting the config.server_bundle_js file even if server rendering is not enabled.
https://github.com/shakacode/react_on_rails/blob/master/lib%2Fgenerators%2Freact_on_rails%2Ftemplates%2Fbase%2Fbase%2Fconfig%2Finitializers%2Freact_on_rails.rb#L7
We need to templatize line 7 in that file.
Here's a crystal clear example:
https://github.com/shakacode/react_on_rails/blob/master/lib%2Fgenerators%2Freact_on_rails%2Ftemplates%2Fbase%2Fbase%2FProcfile.dev.tt
The text was updated successfully, but these errors were encountered: