-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Format and structure changes
- Loading branch information
Showing
1 changed file
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |