dule build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: /var/www/html/blog/resources/js/components/Signup.js: Support for the experimental syntax 'classProperties' isn't currently enabled (21:21): 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