I am trying to use the .jsx file type and have created a custom .babelrc file as per the documentation (see below).
{
"plugins": [
["transform-react-jsx", {
"extensions": [".jsx"]
}]
],
"presets": [
"next/babel"
]
}
However with the above .babelrc file I receive the following error:

Can someone point me in the direction as to what I am doing wrong to get .jsx files to load properly?
Cheers,
Stefan
I am trying to use the .jsx file type and have created a custom .babelrc file as per the documentation (see below).
However with the above .babelrc file I receive the following error:
Can someone point me in the direction as to what I am doing wrong to get .jsx files to load properly?
Cheers,
Stefan