-
Notifications
You must be signed in to change notification settings - Fork 96
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
Consider making webdfu an ES6 module #1
Labels
Comments
This seems like a reasonable suggestion. It might be a while before I find the time to clean everything up and reorganize it as an ES6 module, though. |
I already did it, when writing my numworks.js lib. Here is my repo : https://github.com/M4xi1m3/webdfu. I only rewrote dfu and dfuse. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Writing a library as an ES6 module is probably the most future-proof way. And it makes it a lot easier to use in Webpack.
One could argue that ES6 modules aren't widely supported, but they are available in Chrome 61 which is, at the moment, the only browser supporting WebUSB :)
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export
The text was updated successfully, but these errors were encountered: