Skip to content
Snippets Groups Projects
Verified Commit 7c32f18a authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Unconditionally install Sentry JS component

We need to do this because `yarn install` is run on Docker build,
where site-specific configuration is not yet known.
parent 4560042f
No related branches found
No related tags found
1 merge request!745Resolve "Integrate Sentry for performance and error tracing"
Pipeline #39061 passed
......@@ -482,6 +482,7 @@ YARN_INSTALLED_APPS = [
"paper-css",
"jquery-sortablejs",
"sortablejs",
"@sentry/tracing",
]
merge_app_settings("YARN_INSTALLED_APPS", YARN_INSTALLED_APPS, True)
......@@ -512,6 +513,7 @@ ANY_JS = {
"Roboto500": {"css_url": JS_URL + "/@fontsource/roboto/500.css"},
"Roboto700": {"css_url": JS_URL + "/@fontsource/roboto/700.css"},
"Roboto900": {"css_url": JS_URL + "/@fontsource/roboto/900.css"},
"Sentry": {"js_url": JS_URL + "/@sentry/tracing/build/bundle.tracing.js"},
}
merge_app_settings("ANY_JS", ANY_JS, True)
......@@ -881,10 +883,5 @@ if SENTRY_ENABLED:
**SENTRY_SETTINGS,
)
YARN_INSTALLED_APPS += [
"@sentry/tracing",
]
ANY_JS["Sentry"] = {"js_url": JS_URL + "/@sentry/tracing/build/bundle.tracing.js"}
# Add django-cleanup after all apps to ensure that it gets all signals as last app
INSTALLED_APPS.append("django_cleanup.apps.CleanupConfig")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment