With config.assets.initialize_on_precompile = false, React::JSX.transform_options = app.config.react.jsx_transform_options never gets set, and I get an exception from jsx.rb#30. Can we move the React::JSX.transform_options = app.config.react.jsx_transform_options in railtie.rb out of the initializer block?
With
config.assets.initialize_on_precompile = false,React::JSX.transform_options = app.config.react.jsx_transform_optionsnever gets set, and I get an exception fromjsx.rb#30. Can we move theReact::JSX.transform_options = app.config.react.jsx_transform_optionsinrailtie.rbout of the initializer block?