Skip to content

Commit

Permalink
[FIX] failing import statement in index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jirgn-cornelsen committed Aug 28, 2017
1 parent 3911f7d commit 79d2786
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
8 changes: 6 additions & 2 deletions dist/react-habitat-redux.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,12 @@ return /******/ (function(modules) { // webpackBootstrap

var _ReduxDomFactory = __webpack_require__(1);

exports.ReduxDomFactory = _ReduxDomFactory.ReduxDomFactory;
exports.default = _ReduxDomFactory.ReduxDomFactory;
var _ReduxDomFactory2 = _interopRequireDefault(_ReduxDomFactory);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.ReduxDomFactory = _ReduxDomFactory2.default;
exports.default = _ReduxDomFactory2.default;

/***/ }),
/* 1 */
Expand Down
2 changes: 1 addition & 1 deletion dist/react-habitat-redux.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@ exports.ReduxDomFactory = undefined;

var _ReduxDomFactory = require('./ReduxDomFactory');

exports.ReduxDomFactory = _ReduxDomFactory.ReduxDomFactory;
exports.default = _ReduxDomFactory.ReduxDomFactory;
var _ReduxDomFactory2 = _interopRequireDefault(_ReduxDomFactory);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.ReduxDomFactory = _ReduxDomFactory2.default;
exports.default = _ReduxDomFactory2.default;
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ReduxDomFactory } from './ReduxDomFactory';
import ReduxDomFactory from './ReduxDomFactory';

export { ReduxDomFactory };
export default ReduxDomFactory;

0 comments on commit 79d2786

Please sign in to comment.