Skip to content

Commit

Permalink
Removes the need to use default when requiring package rather than im…
Browse files Browse the repository at this point in the history
…porting
  • Loading branch information
djchie committed Mar 17, 2017
1 parent 9a3e1ce commit e325835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sandbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const dotenv = require('dotenv');

const Lyft = require('./build/index').default;
const Lyft = require('./build/index');

dotenv.load();

Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
import 'babel-polyfill';
import Lyft from './Lyft';

export default Lyft;
module.exports = Lyft;

0 comments on commit e325835

Please sign in to comment.