Skip to content

assets:precompile broken with initialize_on_precompile=-true #192

@bborn

Description

@bborn

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions