paulmillr / es6-shim

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

How to use es6-shim with modernizr in IE 11. #443

Closed wiadev closed 7 years ago

wiadev commented 7 years ago

Hi I'm trying to build a web app with object.assign but it's not supported on IE 11. So I've included modernizr and going to use es6-shim but not sure how to use them on my problem. I'm not using npm, bower, etc but include all js files in my project /lib folder.

Thanks.

ljharb commented 7 years ago

Simply importing/requiring es6-shim at the top of your project - before modernizr - should provide Object.assign.