Upgrade to Webpack 4 (#1214)

This commit is contained in:
Caleb
2018-05-15 16:37:59 -06:00
committed by Shawn Erquhart
parent 80817e2157
commit 4d981d8e01
12 changed files with 2183 additions and 802 deletions

View File

@ -1,5 +1,6 @@
import PropTypes from 'prop-types';
import React from 'react';
import { hot } from 'react-hot-loader';
import ImmutablePropTypes from 'react-immutable-proptypes';
import { connect } from 'react-redux';
import { Route, Switch, Link, Redirect } from 'react-router-dom';
@ -180,4 +181,6 @@ function mapDispatchToProps(dispatch) {
};
}
export default connect(mapStateToProps, mapDispatchToProps)(App);
export default hot(module)(
connect(mapStateToProps, mapDispatchToProps)(App)
);