-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nick Schmidt
committed
Sep 12, 2017
1 parent
7a726e9
commit a4e2e88
Showing
8 changed files
with
486 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
{ | ||
"presets": ["es2015", "stage-0", "react", "flow"], | ||
"plugins": ["transform-runtime"] | ||
"plugins": [ | ||
"react-hot-loader/babel", | ||
"transform-decorators-legacy", | ||
"transform-runtime", | ||
"transform-object-assign", | ||
"lodash" | ||
], | ||
"env": { | ||
"production": { | ||
"plugins": [ | ||
"transform-remove-console", | ||
"transform-react-remove-prop-types" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
import React from 'react'; | ||
import { Provider } from 'react-redux'; | ||
import { ConnectedRouter } from 'react-router-redux'; | ||
import { Route } from 'react-router-dom'; | ||
|
||
import Root from './pages'; | ||
|
||
import store from './modules/store'; | ||
import history from './modules/history'; | ||
|
||
export default function App() { | ||
return ( | ||
<Provider store={store}> | ||
<ConnectedRouter history={history}> | ||
<Route component={Root} /> | ||
</ConnectedRouter> | ||
</Provider> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.