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

[WIP] Add babel-codemod setup and babel plugin to update imports in JS files #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adityavohra7
Copy link
Contributor

This branch adds a call to babel-codemod with a babel plugin to update import and require statements in JS files.

Questions / TODOs:

  • What files should this codemod run on? It currently runs on all JS files outside of node_modules.
  • What's the best way to invoke babel-codemod? They don't really document an API, so I wasn't sure how subject to change that is.
  • Write some tests.

@hiroppy
Copy link
Member

hiroppy commented Mar 7, 2018

What files should this codemod run on? It currently runs on all JS files outside of node_modules.

We do not have a configuration file so I think that is fine.

@hiroppy hiroppy requested a review from existentialism March 7, 2018 09:11
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.

2 participants