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