Sep 2, 2018 · 1 min read
im having trouble with the .babelrc file. Its saying that with babel7 the presets are deprecated. So im having trouble structuring the file now and am not sure if my syntax is correct
{
“presets”: [
“@babel/preset-react”
],
“plugins”:[
[“@babel/plugin-syntax-jsx”],
[“@babel/plugin-transform-react-jsx”],
[“@babel/plugin-transform-react-display-name”],
[“@babel/plugin-transform-react-jsx-self”],
[“@babel/plugin-transform-react-display-name”]
]
}
