// Import debugging tools let Sentry = null; if(process.env.NODE_ENV === "development") { console.debug("Initializing Preact Debugger...") require("preact/debug"); } else if(process.env.NODE_ENV === "production") { console.debug("Initializing Sentry...") Sentry = require("@sentry/browser"); let SentryIntegrations = require("@sentry/integrations") // noinspection JSUnresolvedVariable Sentry.init({ // TODO: Sentry DSN goes here dsn: "", release: process.env.RELEASE, environment: "production", beforeSend(event, hint) { if (event.exception) { Sentry.showReportDialog({ eventId: event.event_id }); } return event; } }); } // noinspection ES6UnusedImports import "bluelib/dist/index.css"; import {theme} from "bluelib"; import './meta/manifest.json'; import './meta/CNAME'; import './meta/.nojekyll'; import './meta/favicon.ico'; import Router from 'preact-router'; import {createHashHistory} from "history"; // noinspection JSUnusedGlobalSymbols export default function(props) { return (
); }