Skip to content

Commit

Permalink
Update ContentfulClient to directly require the minified browser vers…
Browse files Browse the repository at this point in the history
…ion Contentful client to resolve issues when used in React Native apps
  • Loading branch information
ryanhefner committed Feb 4, 2020
1 parent 2ac3cea commit 9a9e6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ContentfulClient.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ContentfulCache from './ContentfulCache';
const contentful = require('contentful');
const contentful = require('contentful/dist/contentful.browser.min.js');
import invariant from 'invariant';

export default (clientOptions) => {
Expand Down

0 comments on commit 9a9e6fe

Please sign in to comment.