I have been getting the following error constantly throughout this process
SyntaxError: /Users/user1/npmprojects/experiments/test-reactstrap0/src/components/index.js: Support for the experimental syntax 'exportDefaultFrom' isn't currently enabled (15:8):
13 | export * from './ListItems';
14 |
> 15 | export FormField from './FormField';
First I install the plugin: yarn add @babel/plugin-proposal-export-default-from --save-dev
I have also tried installing yarn add babel-preset-stage-1 --save-dev
I have tried adding a .babelrc file with the contents
{
"plugins": [
"@babel/plugin-proposal-export-default-from"
]
}
I have tried adding the following to my package.json
"babel": {
"presets": [
"es2015",
"stage-1",
"react"
],
"plugins": [
"@babel/plugin-proposal-export-default-from"
]
}