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

Process es6 modules import #42

Open
Yeti-or opened this issue Sep 16, 2017 · 0 comments
Open

Process es6 modules import #42

Yeti-or opened this issue Sep 16, 2017 · 0 comments
Labels

Comments

@Yeti-or
Copy link
Member

Yeti-or commented Sep 16, 2017

Right now we work only with require:

if(!(
  node.type === 'CallExpression' &&
  node.callee.type === 'Identifier' &&
  node.callee.name === 'require' &&
  Object(node.arguments[0]).value
)) return;

we could process imports too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant