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