fridays / next-routes

Universal dynamic routes for Next.js
MIT License
2.47k stars 230 forks source link

Object.assign not polyfilled #53

Closed jaydenseric closed 7 years ago

jaydenseric commented 7 years ago

This package breaks in IE 11 due to it's unpolyfilled use of Object.assign.

It is risky to rely on Next.js to apply a global polyfill, because its not guaranteed - in v3 latest it is not present:

screen shot 2017-06-20 at 11 05 28 pm

This issue can be resolved by refactoring all usage of Object.assign to spread operator syntax. It's more elegant that way anyway.

fridays commented 7 years ago

This is now fixed with new babel presets.