You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we moved to ES6, users of this library who are also using Babel get subtly different behaviour when importing. Now when you import contentful from 'contentful' you don't get an object containing all exported functions, but rather the (non-existant) default export from this library. We need a backwards compatible export default statement.
The text was updated successfully, but these errors were encountered:
@grncdr related to this topic, users who're compiling Contentful from source will also be hit by the "bug" in axios that it imports and forcefully polyfills the global Promise implementation with the es6-promise polyfill.
This caused problems for us because es6-promise won't handle errors that aren't caught in a call to catch() at all - they just get eaten.
When we moved to ES6, users of this library who are also using Babel get subtly different behaviour when importing. Now when you
import contentful from 'contentful'
you don't get an object containing all exported functions, but rather the (non-existant)default
export from this library. We need a backwards compatibleexport default
statement.The text was updated successfully, but these errors were encountered: