paulmillr / es6-shim

ECMAScript 6 compatibility shims for legacy JS engines
http://paulmillr.com
MIT License
3.11k stars 387 forks source link

Possible to only use needed components? #453

Closed notflip closed 5 years ago

notflip commented 5 years ago

Is it possible to not include the complete library, and only use the shims I need for a project?

ljharb commented 5 years ago

How can you know that? You don’t know what shims all of your dependencies need.

Some of these do have standalone shims, but not all. In general tho, it’s a best practice to always unconditionally shim everything.