/repl.jsx: Unexpected token (1:10) > 1 | function () { | ^ code example
Example: babel-loader jsx SyntaxError: Unexpected token [duplicate]
npm install babel-preset-react //Add "babel-preset-react"
npm install babel-preset-react //Add "babel-preset-react"