Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with babel.config - only looks for .babelrc #48

Closed
apuntovanini opened this issue Sep 2, 2019 · 1 comment
Closed

Doesn't work with babel.config - only looks for .babelrc #48

apuntovanini opened this issue Sep 2, 2019 · 1 comment

Comments

@apuntovanini
Copy link

  • version: 2.2.1
  • node version: 12.40
  • npm (or yarn) version: yarn 1.17.3

Do you want to request a feature or report a bug?:
A bug

What is the current behavior?:
In a monorepo structure tried to run extract-messages in a package folder, raises Add @babel/plugin-proposal-export-default-from (https://git.io/vb4yH) to the 'plugins' section of your Babel config to enable transformation

What is the expected behavior?:
That it works as expected

Suggested solution:
It seems to me that the script doesn't load babel.config.js babel configurations, and just expects a .babelrc in a parent directory. Adding the plugin as suggested by the aforementioned error in the babel.config has no effects indeed

@akameco
Copy link
Owner

akameco commented Mar 24, 2020

Fixed by akameco/read-babelrc-up#6

@akameco akameco closed this as completed Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants