mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
* single command to run webpack and app * added dev tools and custom store for development mode only * fix linter issues
16 lines
367 B
JavaScript
16 lines
367 B
JavaScript
import {createStore, applyMiddleware} from 'redux';
|
|
import thunk from 'redux-thunk';
|
|
import rootReducer from '../reducers/index';
|
|
import effects from '../utils/effects';
|
|
import * as plugins from '../utils/plugins';
|
|
|
|
export default () =>
|
|
createStore(
|
|
rootReducer,
|
|
applyMiddleware(
|
|
thunk,
|
|
plugins.middleware,
|
|
thunk,
|
|
effects
|
|
)
|
|
);
|