mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
* single command to run webpack and app * added dev tools and custom store for development mode only * fix linter issues
10 lines
292 B
JavaScript
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();
|
|
};
|