1
Fork 0
mirror of https://github.com/Steffo99/unisteffo.git synced 2024-11-23 00:14:21 +00:00

disable sentry in development

This commit is contained in:
Steffo 2020-05-28 17:09:52 +02:00
parent 6d5307b12e
commit 5262e5662a
Signed by: steffo
GPG key ID: 896A80F55F7C97F0

View file

@ -3,7 +3,7 @@ if(process.env.NODE_ENV === "development") {
console.debug("Initializing Preact Debugger...")
require("preact/debug");
}
//else if(process.env.NODE_ENV === "production") {
else if(process.env.NODE_ENV === "production") {
console.debug("Initializing Sentry...")
Sentry = require("@sentry/browser");
let SentryIntegrations = require("@sentry/integrations")
@ -19,7 +19,7 @@ if(process.env.NODE_ENV === "development") {
return event;
}
});
//}
}
// noinspection ES6UnusedImports
import _style from './index.less';