hyper/lib/store/configure-store.js
Krzysztof Kaczor bbf0af66b2 Improve developer pleasure (#556)
* single command to run webpack and app

* added dev tools and custom store for development mode only

* fix linter issues
2016-09-21 15:11:42 -07:00

10 lines
292 B
JavaScript

import configureStoreForProduction from './configureStore.prod';
import configureStoreForDevelopment from './configureStore.dev';
export default () => {
if (process.env.NODE_ENV === 'production') {
return configureStoreForProduction();
}
return configureStoreForDevelopment();
};