-
Notifications
You must be signed in to change notification settings - Fork 76
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 module? #19
Comments
Thank you for this, @OmgImAlexis . Could you also submit it as a pull request in case @marlun78 comes back online one of these days? For anyone who stumbles upon this in the future, you can run And a sidenote: I had an issue with importing. Instead I had to run |
This might help if you are looking to use the existing package as an ES6 import.
|
@tchaffee you don’t need to rename default. import x from “package” imports the default already. |
@OmgImAlexis I was positive I had tried that and it didn't work... but yes, it does work. Thanks. Just so it's spelled out for anyone looking, this is working for me:
|
Hi, I've converted this package to an ES6 module and cleaned it up quite a bit. Thought you may want to add a link to the readme for users that need tree shaking, etc.
Ref: master...OmgImAlexis:master
The text was updated successfully, but these errors were encountered: