Support for the experimental syntax 'jsx' isn't currently enabled (5:5): lerna code example
Example 1: rails webpack support for the experimental syntax 'jsx' isn't currently enabled
"jest": {
"preset": "react-native",
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
}
},
Example 2: rails webpack support for the experimental syntax 'jsx' isn't currently enabled
$ bin/rails g webpacker:install:react