DEV Community

Discussion on: Learn React - Part 1 - Simple setup for a React application with Webpack 4 (+ CSS / SASS)

Collapse
 
jdrichardstech profile image
JD Richards • Edited

thanks for this tutorial.
maybe it is just me but this only worked for me after i replaced "babel-core": "6.26.3" with "@babel/core": "7.2.2" in the package.json devdependencies

Collapse
 
felipegalvao profile image
Felipe Galvão

Hey JD! Thanks for your comment.

You are right, the older versions of Babel will not work with the configuration file that I created in this post. For those who install "babel-core" newer versions, there shouldn't be a problem. I have updated the package.json file to use the newer versions already.

Cheers!