Skip to content

Running react_on_rails:install is not compatible with Shakapacker v8 #1625

@timkrins

Description

@timkrins

Environment

  1. Ruby version: 3.3.0
  2. Rails version: 7.1.3.3
  3. Shakapacker/Webpacker version: 8.0.0
  4. React on Rails version: 14.0.1

Expected behavior

I set up a new Rails project.
I follow the installation guide for shakapacker, and then follow the Getting Started directions for react_on_rails.
The command rails generate react_on_rails:install installs the correct files required for this version of Shakapacker.

Actual behavior

I set up a new Rails project.
I follow the installation guide for shakapacker, and then follow the Getting Started directions for react_on_rails.
The command rails generate react_on_rails:install undoes required changes for Shakapacker v8 (it does not use the required generateWebpackConfig exports etc)

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