This experimental syntax requires enabling the parser plugin: 'exportDefaultFrom'
I am getting the above error while trying to move the entire application from react v15.6to v16.2, by using the migration tool from facebook like jscodeshift.
This experimental syntax requires enabling the parser plugin: 'exportDefaultFrom'
I am getting the above error while trying to move the entire application from react v15.6to v16.2, by using the migration tool from facebook like jscodeshift.
On
Add @babel/plugin-proposal-export-default-from (https://git.io/vb4yH) to the 'plugins' section of your Babel config to enable transformation.
I solved this problem.
./src/parser:
Please add the 'exportDefaultFrom' into plugins.