Skip to content

Commit

Permalink
fixes #1 'ReactLoadableSSRAddon is not a constructor'
Browse files Browse the repository at this point in the history
  • Loading branch information
themgoncalves committed Sep 19, 2018
1 parent b402189 commit 767436f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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-loadable-ssr-addon",
"version": "0.1.0",
"version": "0.1.1",
"description": "Server Side Render add-on for React Loadable. Load splitted chunks was never that easy.",
"main": "lib/index.js",
"repository": {
Expand Down
7 changes: 5 additions & 2 deletions source/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
* @version 0.1.0
*/

export { default } from './ReactLoadableSSRAddon';
export { default as getBundles } from './getBundles';
import ReactLoadableSSRAddon from './ReactLoadableSSRAddon';
import getBundles from './getBundles';

module.exports = ReactLoadableSSRAddon;
exports.getBundles = getBundles;

0 comments on commit 767436f

Please sign in to comment.