medialize / URI.js

Javascript URL mutation library
http://medialize.github.io/URI.js/
MIT License
6.26k stars 474 forks source link

ESM exports #373

Closed ioanlucut closed 5 years ago

ioanlucut commented 5 years ago

First of all, thank you for this library.

I would like to ask if is possible to provide ESM exports, so that we can include in our project only what we need, and having tree shaking enabled, in order to shrink the end js file.

Thank you!

rodneyrehm commented 5 years ago

I think this is already tracked in #172 and no progress has been made to this day. I'm not sure I'll ever get around to this, as URL and URLSearchParams cover most of my needs these days. I'm open to supporting anyone willing to look into rewriting URI.js in ES6, though.

ioanlucut commented 5 years ago

@rodneyrehm thanks for your answer. I will close this ticket as won't do, then.