I have installed @babel/plugin-proposal-export-default-from, but for some reason, my default export is not being transformed. Typescript keeps throwing the error,
Add @babel/plugin-proposal-export-default-from (https://git.io/vb4yH) to
the 'plugins' section of your Babel config to enable transformation.
I've taken a look at this issue and have tried installing @babel/plugin-proposal-export-namespace-from as well, but to no avail.
What am I doing wrong here? Am I missing something?
My babel.config.json:
{
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]],
"plugins": ["@babel/plugin-proposal-export-default-from", "@babel/plugin-proposal-export-namespace-from"]
}
FWIW, I haven't ejected out of my CRA app, and I'm wondering if I need to do so, or use something like rewired, in order to use this in my project.