File tree Expand file tree Collapse file tree
components/ReduxAsyncConnect Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ class ReduxAsyncConnect extends Component {
1010 static propTypes = {
1111 children : PropTypes . node . isRequired ,
1212 history : PropTypes . objectOf ( PropTypes . any ) . isRequired ,
13- location : PropTypes . objectOf ( PropTypes . any ) . isRequired
13+ location : PropTypes . objectOf ( PropTypes . any ) . isRequired ,
14+ routes : PropTypes . arrayOf ( PropTypes . object ) . isRequired ,
15+ store : PropTypes . objectOf ( PropTypes . any ) . isRequired ,
16+ helpers : PropTypes . objectOf ( PropTypes . any ) . isRequired
1417 } ;
1518
1619 state = {
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { provideHooks } from 'redial';
44import MiniInfoBar from 'components/MiniInfoBar/MiniInfoBar' ;
55import { isLoaded as isInfoLoaded , load as loadInfo } from 'redux/modules/info' ;
66
7+ /* eslint-disable max-len */
78@provideHooks ( {
89 fetch : ( { store : { dispatch, getState } } ) => ! isInfoLoaded ( getState ( ) ) ? dispatch ( loadInfo ( ) ) . catch ( ( ) => null ) : Promise . resolve ( )
910} )
Original file line number Diff line number Diff line change @@ -128,6 +128,9 @@ const webpackConfig = {
128128 // new webpack.LoaderOptionsPlugin({
129129 // }),
130130
131+ /* wepack build status - show webpack build progress in terminal */
132+ new webpack . ProgressPlugin ( ) ,
133+
131134 // hot reload
132135 new webpack . HotModuleReplacementPlugin ( ) ,
133136
Original file line number Diff line number Diff line change @@ -169,6 +169,9 @@ module.exports = {
169169 extensions : [ '.json' , '.js' , '.jsx' ]
170170 } ,
171171 plugins : [
172+ /* wepack build status - show webpack build progress in terminal */
173+ new webpack . ProgressPlugin ( ) ,
174+
172175 new CleanPlugin ( [ assetsPath ] , { root : projectRootPath } ) ,
173176
174177 // css files from the extract-text-plugin loader
You can’t perform that action at this time.
0 commit comments