diff --git a/package.json b/package.json index 964ae9e..dc47ede 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/source/index.js b/source/index.js index 7c5d927..e52608e 100644 --- a/source/index.js +++ b/source/index.js @@ -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;