Track tasks and feature requests
Join 40 million developers who use GitHub issues to help identify, assign, and keep track of the features and bug fixes your projects need.
Sign up for free See pricing for teams and enterprisesMeta: ES Next #1443
Meta: ES Next #1443
Comments
This comment has been minimized.
This comment has been minimized.
|
Do you plan to add support for ESModule like imports? import { WebTorrent } from 'https://unpkg.com/webtorrent'
|
This comment has been minimized.
This comment has been minimized.
|
@hgghyxo I think you have to do |
This comment has been minimized.
This comment has been minimized.
|
Have tried all the methods, but it always have some problems. In this case:
which is Tried the minified version as well:
|
This comment has been minimized.
This comment has been minimized.
|
my workaround here is to simply call a |
This comment has been minimized.
This comment has been minimized.
|
Are you using webpack, babel? |
This comment has been minimized.
This comment has been minimized.
|
neither, ESModule: |
This comment has been minimized.
This comment has been minimized.
|
oh, then just use the normal import and it'll be available as a global. There's no plan on supporting ES Modules atm |
This comment has been minimized.
This comment has been minimized.
|
Webtorrent-hybrid was't a big project: webtorrent/webtorrent-hybrid#86 |
This comment has been minimized.
This comment has been minimized.
|
webtorrent main lib done! |
This comment has been minimized.
This comment has been minimized.
|
Just a note to everyone! You can use |
This comment has been minimized.
This comment has been minimized.
|
PR's waiting to be merged |
This comment has been minimized.
This comment has been minimized.
|
Not sure if it was intended to close this |
This comment has been minimized.
This comment has been minimized.
|
Correct |
Let's convert all WebTorrent packages to ES6. (Continued from #444)
Note that this is a separate task from async-await (Promises) support.