Commit ff17f65
authored
feat: use npm-bundled Sentry instead of CDN (#181)
Bundle @sentry/browser with esbuild into a local script served
from the same origin. All Sentry calls are guarded with
window.Sentry checks so adblockers won't break page functionality.
SENTRY_DSN is injected at build time via environment variable.1 parent 1ba3e7f commit ff17f65
File tree
8 files changed
+602
-14
lines changed- .github/workflows
- scripts
- src
- js
8 files changed
+602
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
0 commit comments