Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #105 from jedmao/es-module-export
Browse files Browse the repository at this point in the history
ES Module Export
  • Loading branch information
dcousens committed Sep 10, 2017
2 parents ca6af20 + 915186a commit 34a05a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -39,6 +39,7 @@
}

if (typeof module !== 'undefined' && module.exports) {
classNames.default = classNames;
module.exports = classNames;
} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {
// register as 'classnames', consistent with npm package name
Expand Down

0 comments on commit 34a05a5

Please sign in to comment.