Skip to content

Commit

Permalink
Import lodash/flowRight using ES import to allow for treeshaking
Browse files Browse the repository at this point in the history
  • Loading branch information
Pajn authored Aug 31, 2018
1 parent 1f710d4 commit 3cd1340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ export * from './withApollo'
export * from './types';

// XXX remove in the next breaking semver change (3.0)
const compose = require('lodash/flowRight');
import * as compose from 'lodash/flowRight';
export { compose };

0 comments on commit 3cd1340

Please sign in to comment.