Files
classroomio/src/client.js
T

29 lines
888 B
JavaScript
Raw Normal View History

2021-07-17 22:29:12 +03:00
import * as sapper from '@sapper/app';
2023-07-06 15:48:42 +01:00
// import * as Sentry from '@sentry/browser';
// import { Integrations } from '@sentry/tracing';
// import { CaptureConsole } from '@sentry/integrations';
2021-10-09 22:14:46 +03:00
import config from './config';
console.log(`isProd`, config.isProd);
2023-07-06 15:48:42 +01:00
// if (config.isProd) {
// Sentry.init({
// dsn: 'https://c966f7e8cb1d4306be20b26bb4f0cc96@o476906.ingest.sentry.io/5999999',
// integrations: [
// new Integrations.BrowserTracing(),
// new CaptureConsole({
// levels: ['error'],
// }),
// ],
// environment: config.isProd ? 'production' : 'development',
// // Set tracesSampleRate to 1.0 to capture 100%
// // of transactions for performance monitoring.
// // We recommend adjusting this value in production
// tracesSampleRate: 1.0,
// });
// }
2020-12-24 20:32:05 +02:00
sapper.start({
2021-07-17 22:29:12 +03:00
target: document.querySelector('#sapper'),
});