Skip to content

Commit

Permalink
Merge pull request #12 from Normolo/patch-3
Browse files Browse the repository at this point in the history
Update main.js
  • Loading branch information
devinbaeten authored Aug 5, 2024
2 parents 5a28a1b + 290ceed commit 37ef9c1
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions src/js/main.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,34 @@
// Import our custom CSS
// Import custom CSS styles
import '../scss/styles.scss';

// Import all of Bootstrap's JS
// Import Bootstrap's JavaScript components
import * as bootstrap from 'bootstrap';

// Sentry
// Import Sentry for error tracking
import * as Sentry from "@sentry/browser";

// Initialize Sentry with configuration options
Sentry.init({
dsn: "https://f7b9cd23b08549d496928e95863a508f@o4504770759229440.ingest.sentry.io/4504990691491840",
// Set session and error replay sample rates to 100%
replaysSessionSampleRate: 1.0,
replaysOnErrorSampleRate: 1.0,
integrations: [new Sentry.Replay({maskAllText: false, maskAllInputs: false, blockAllMedia: false}), new Sentry.BrowserTracing()],
// Configure integrations, including replay and browser tracing
integrations: [
new Sentry.Replay({
maskAllText: false,
maskAllInputs: false,
blockAllMedia: false
}),
new Sentry.BrowserTracing()
],
// Set the sample rate for tracing to 100%
tracesSampleRate: 1.0,
});

// Import Bootstrap Icons
// Import Bootstrap Icons CSS
import 'bootstrap-icons/font/bootstrap-icons.css';

// Import code
import './app.js';
import './ko-fi.js';
// Import application-specific code
import './app.js'; // Import other application modules as needed
import './ko-fi.js'; // Import Ko-fi integration

0 comments on commit 37ef9c1

Please sign in to comment.