Closed dbismut closed 6 years ago
Hi - I was testing a site on IE11 and got the following error popup:
Looks like Object.entries and Object.assign are not available on IE11, and you're using these methods on these lines:
Object.entries
Object.assign
https://github.com/datocms/gatsby-source-datocms/blob/8e14eb8920d95383cecb333a9ffd53c482f3a263/src/index.js#L13 https://github.com/datocms/gatsby-source-datocms/blob/8e14eb8920d95383cecb333a9ffd53c482f3a263/src/index.js#L15
I'm far from a pro, but I think you should consider including Object assign and Object entries polyfills for babel, or even the more generic polyfill into your .babelrc json file.
.babelrc
Thanks for reporting, fixed in gatsby-source-datocms@1.1.6
Hi - I was testing a site on IE11 and got the following error popup:
Looks like
Object.entries
andObject.assign
are not available on IE11, and you're using these methods on these lines:https://github.com/datocms/gatsby-source-datocms/blob/8e14eb8920d95383cecb333a9ffd53c482f3a263/src/index.js#L13 https://github.com/datocms/gatsby-source-datocms/blob/8e14eb8920d95383cecb333a9ffd53c482f3a263/src/index.js#L15
I'm far from a pro, but I think you should consider including Object assign and Object entries polyfills for babel, or even the more generic polyfill into your
.babelrc
json file.