Prod fixes

This commit is contained in:
Jori Lallo committed 2016-06-04 19:03:00 -07:00
1 parent 884977843c
commit 3d2f3d002a
3 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -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'));
+1 -1
View File
@@ -4,7 +4,7 @@ import { client } from 'utils/ApiClient';
const store = new class AtlasStore {
@observable atlas;
@observable isFetching;
@observable isFetching = true;
/* Actions */
+7 -7
View File
@@ -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': {