Skip to content

Commit

Permalink
Wrap module with CommonJS wrapper
Browse files Browse the repository at this point in the history
- Save ES5 packages from doing require(‘package-name’).default
  • Loading branch information
abhishekdev committed Feb 1, 2017
1 parent 3477c84 commit 6efa356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
'use strict';

module.exports = require('./dist/version');
module.exports = require('./dist/version').default;

0 comments on commit 6efa356

Please sign in to comment.