Simon G
Simon G
Sep 5, 2018 · 1 min read

Excellent article, alas for a relative newcomer to boilerplate setup (a.k.a. me) it is confusing! mainly because babel cli/core/preset have all kind of conflicts with new versions.

I managed to have a working version with the following in the package-json:

“@babel/cli”: “^7.0.0”,“@babel/core”: “^7.0.0”,“@babel/preset-env”: “^7.0.0”,“@babel/preset-react”: “^7.0.0”,

with .babelrc file:

{ “presets”: [ “@babel/preset-env”, “@babel/preset-react” ] }

Otherwise, great article for a starting point! Thanks

Simon G

Simon G

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade