You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.
This API has been removed. If you're looking for this functionality in Babel 7, you should import the '@babel/helper-module-imports' module and use the functions exposed from that module, such as 'addNamed' or 'addDefault'.
When trying to upgrade Babel 7, I experienced an error around the deprecation of
addImport
. Instead, the migration guide recommends usingaddDefault
(reference: https://new.babeljs.io/docs/en/next/v7-migration-api.html#babel-core).Error:
Case 1:
babel-plugin-react-transform/src/index.js
Line 284 in ccd6dc1
Case 2:
babel-plugin-react-transform/src/index.js
Line 291 in ccd6dc1
I attempted to fork, but wound up spinning my wheels for too long. Any insight on how to best migrate would be much appreciated.
The text was updated successfully, but these errors were encountered: