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

fix: use our versions of the presets for transpiling #103

Merged
merged 1 commit into from
Mar 19, 2018
Merged

Conversation

eventualbuddha
Copy link
Collaborator

If you simply pass package names into babel's list of presets then it'll try to load them from the working directory. That doesn't work for us, so we need to resolve–but not load!–the presets relative to babel-codemod itself.

Fixes #102

If you simply pass package names into babel's list of presets then it'll try to load them from the working directory. That doesn't work for us, so we need to resolve–but not load!–the presets relative to babel-codemod itself.

Fixes #102
@eventualbuddha eventualbuddha merged commit 72fe399 into master Mar 19, 2018
@eventualbuddha eventualbuddha deleted the ghi-102 branch March 19, 2018 13:25
@babel-codemod-bot
Copy link

🎉 This PR is included in version 1.6.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Add support of syntaxes?
2 participants