Module Build Failed - Webpack, React, Babel
It was solved. The answer was in installing presets npm i --save babel-preset-env babel-preset-react
. Then adding another key in the webpack.config.js, in the loader: query: {presets: ['env', 'react'] }
. Should be good to go.