Prod fixes
This commit is contained in:
@ -53,6 +53,6 @@ render((
|
|||||||
<Route path="/auth/slack" component={SlackAuth} />
|
<Route path="/auth/slack" component={SlackAuth} />
|
||||||
</Route>
|
</Route>
|
||||||
</Router>
|
</Router>
|
||||||
{ true || __DEV__ ? <DevTools position={{ bottom: 0, right: 0 }} /> : null }
|
{ __DEV__ ? <DevTools position={{ bottom: 0, right: 0 }} /> : null }
|
||||||
</div>
|
</div>
|
||||||
), document.getElementById('root'));
|
), document.getElementById('root'));
|
||||||
|
@ -4,7 +4,7 @@ import { client } from 'utils/ApiClient';
|
|||||||
const store = new class AtlasStore {
|
const store = new class AtlasStore {
|
||||||
@observable atlas;
|
@observable atlas;
|
||||||
|
|
||||||
@observable isFetching;
|
@observable isFetching = true;
|
||||||
|
|
||||||
/* Actions */
|
/* Actions */
|
||||||
|
|
||||||
|
@ -24,13 +24,13 @@ productionWebpackConfig.plugins.push(new HtmlWebpackPlugin({
|
|||||||
}));
|
}));
|
||||||
productionWebpackConfig.plugins.push(new ExtractTextPlugin('styles.[hash].css'));
|
productionWebpackConfig.plugins.push(new ExtractTextPlugin('styles.[hash].css'));
|
||||||
productionWebpackConfig.plugins.push(new webpack.optimize.OccurenceOrderPlugin());
|
productionWebpackConfig.plugins.push(new webpack.optimize.OccurenceOrderPlugin());
|
||||||
// productionWebpackConfig.plugins.push(
|
productionWebpackConfig.plugins.push(
|
||||||
// new webpack.optimize.UglifyJsPlugin({
|
new webpack.optimize.UglifyJsPlugin({
|
||||||
// compress: {
|
compress: {
|
||||||
// warnings: false
|
warnings: false
|
||||||
// }
|
}
|
||||||
// })
|
})
|
||||||
// );
|
);
|
||||||
productionWebpackConfig.plugins.push(
|
productionWebpackConfig.plugins.push(
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
'process.env': {
|
'process.env': {
|
||||||
|
Reference in New Issue
Block a user