mathiasbynens / punycode.js

A robust Punycode converter that fully complies to RFC 3492 and RFC 5891.
https://mths.be/punycode
MIT License
1.59k stars 159 forks source link

ES6 Module? #55

Closed nathanhammond closed 7 years ago

nathanhammond commented 8 years ago

Would you be willing to accept a PR which implemented a prepublish step to generate both an ES6 module and a CommonJS module? I don't believe that this is against the spirit of dropping support for old environments a la #48 and is in this case exactly one line different.

mathiasbynens commented 7 years ago

Sounds good. Send over the PR and I’ll take a look!

nathanhammond commented 7 years ago

K, on it. :)