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

ES6 Import Format Not Respected #65

Open
origin1tech opened this issue Oct 11, 2015 · 2 comments
Open

ES6 Import Format Not Respected #65

origin1tech opened this issue Oct 11, 2015 · 2 comments

Comments

@origin1tech
Copy link

Import statements in ES6 get treated as object when written as

 import {SomeClass} form './some/path'

results in:

 import {
   SomeClass
 }from 
 './some/path

Happy to look into this but don't have the time to comb the source, I'd need some sort of pointing in the right direction. I suspect this wouldn't be too involved. I'd didn't noticed but export might be effected also.

Outside of that great little package (wait that sounded bad lol) thx for the hard work!!

@ilanbiala
Copy link
Collaborator

@origin1tech we use js-beautify to format JS, so they need to support ES6 for the format to come out properly.

@origin1tech
Copy link
Author

I see like I said hadn't had chance to look at source. I'll take a look and see if I can't fix that.

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