From 1c427c4c01cae8a926ebebbb52e3a2b014131e70 Mon Sep 17 00:00:00 2001 From: Alexander Heimbuch Date: Thu, 4 Jan 2018 08:20:52 +0100 Subject: [PATCH] fix(vendor-block): Remove error monitoring to prevent blocking of vendor bundle from iOS and Safari --- package.json | 3 --- src/store/index.js | 10 +--------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/package.json b/package.json index c2308ecd5..42096b975 100644 --- a/package.json +++ b/package.json @@ -69,8 +69,6 @@ "mobile-detect": "1.3.6", "normalize.css": "6.0.0", "query-string": "4.3.1", - "raven-for-redux": "1.0.0", - "raven-js": "3.16.0", "redux": "3.5.2", "revue": "3.0.0", "scroll-into-view": "^1.9.1", @@ -130,7 +128,6 @@ "engines": { "node": ">=5.0.0" }, - "sentry": "https://03bb03b146f34e8e96194a92572c0329@sentry.io/182383", "ava": { "files": [ "src/**/*.test.js" diff --git a/src/store/index.js b/src/store/index.js index 5a420e5cd..e5995204c 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -2,21 +2,13 @@ import Vue from 'vue' import Revue from 'revue' import { createStore, applyMiddleware, compose } from 'redux' -import Raven from 'raven-js' -import createRavenMiddleware from 'raven-for-redux' - -import { sentry, version } from '../../package.json' import reducers from './reducers' import actions from './actions' import effects from './effects' -Raven.config(sentry, { release: version, ignoreUrls: ['localhost'] }).install() - const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose -const reduxStore = createStore(reducers, composeEnhancers( - applyMiddleware(createRavenMiddleware(Raven), effects) -)) +const reduxStore = createStore(reducers, composeEnhancers(applyMiddleware(effects))) const store = new Revue(Vue, reduxStore, actions)