Skip to content

Commit

Permalink
small mods
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreen committed Sep 24, 2019
1 parent 5df1964 commit af79294
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Optional variables:
```bash
PROXY_API_URI='' # valid URI; not set by default
DISABLE_BROWSER_SYNC=false # boolean; `false` by default
DISABLE_HISTORY_FALLBACK=false # boolean; `false` by default
```

You can create `.env` in project root with this variables.
3 changes: 2 additions & 1 deletion src/App/store/Todo/register.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// tslint:disable space-in-parens
import Store from '@flexis/redux';

export const TodoSegment = Symbol('todo');
Expand All @@ -7,7 +8,7 @@ async function loadTodoSegmentConfig() {
const {
TodoReducer,
TodoActions
} = await import('./');
} = await import(/* webpackChunkName: 'todo.segment' */ './');

return {
reducer: TodoReducer,
Expand Down
3 changes: 2 additions & 1 deletion src/App/store/Weather/register.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// tslint:disable space-in-parens
import Store from '@flexis/redux';
import {
IActions
Expand All @@ -11,7 +12,7 @@ async function loadWeatherSegmentConfig() {
const {
WeatherReducer,
WeatherActions
} = await import('./');
} = await import(/* webpackChunkName: 'weather.segment' */ './');

return {
reducer: WeatherReducer,
Expand Down

0 comments on commit af79294

Please sign in to comment.