Skip to content

Commit

Permalink
export ReactIntlUniversal class
Browse files Browse the repository at this point in the history
  • Loading branch information
cwtuan committed Oct 13, 2019
1 parent 4f966f2 commit b5a1044
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-intl-universal",
"version": "2.1.4",
"version": "2.2.1",
"description": "Internationalize React apps. Not only for React.Component but also for Vanilla JS.",
"keywords": [
"intl",
Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import ReactIntlUniversal from './ReactIntlUniversal';

module.exports = new ReactIntlUniversal();
exports.ReactIntlUniversal = ReactIntlUniversal;
module.exports.ReactIntlUniversal = ReactIntlUniversal;

0 comments on commit b5a1044

Please sign in to comment.