diff --git a/docs/platforms/javascript/guides/sveltekit/configuration/build/index.mdx b/docs/platforms/javascript/guides/sveltekit/configuration/build/index.mdx
index b9d3952da8682..ad6089b21b8ff 100644
--- a/docs/platforms/javascript/guides/sveltekit/configuration/build/index.mdx
+++ b/docs/platforms/javascript/guides/sveltekit/configuration/build/index.mdx
@@ -22,38 +22,42 @@ The Sentry SvelteKit SDK supports automatic code instrumentation and source map
-## Source Maps Options
+## General Options
+
+These options can be set on the root level of the `sentrySvelteKit` configuration object. Most of them are relevant for the source map upload process.
-
+
-The slug of the Sentry organization associated with the app.
+ The slug of the Sentry organization associated with the app.
-
+
-The slug of the Sentry project associated with the app.
+ The slug of the Sentry project associated with the app.
-
+
-The authentication token to use for all communication with Sentry. Can be obtained from https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/.
+ The authentication token to use for all communication with Sentry. Can be obtained from https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/.
-
+
-The base URL of your Sentry instance. Only relevant if you're using a self-hosted or Sentry instance other than sentry.io.
+ The base URL of your Sentry instance. Only relevant if you're using a self-hosted or Sentry instance other than sentry.io.
-By default, `sentrySvelteKit` will try to detect your SvelteKit adapter to configure the source maps upload correctly. If you're not using one of the [supported adapters](/platforms/javascript/guides/sveltekit/) or the wrong one is detected, you can override the adapter detection using the `adapter` option.
+ By default, `sentrySvelteKit` will try to detect your SvelteKit adapter to configure the source maps upload correctly. If you're not using one of the [supported adapters](/platforms/javascript/guides/sveltekit/) or the wrong one is detected, you can override the adapter detection using the `adapter` option.
+## Source Maps Options
+
Disable automatic source maps upload by setting `autoUploadSourceMaps` to `false`.
diff --git a/platform-includes/configuration/filter-application-key/javascript.solidstart.mdx b/platform-includes/configuration/filter-application-key/javascript.solidstart.mdx
index 8c5781af56213..d69ba844d017f 100644
--- a/platform-includes/configuration/filter-application-key/javascript.solidstart.mdx
+++ b/platform-includes/configuration/filter-application-key/javascript.solidstart.mdx
@@ -5,10 +5,8 @@ export default defineConfig(
/* Your SolidStart config */
},
{
- sourceMapsUploadOptions: {
- unstable_sentryVitePluginOptions: {
- applicationKey: "your-custom-application-key",
- },
+ unstable_sentryVitePluginOptions: {
+ applicationKey: "your-custom-application-key",
},
},
),
diff --git a/platform-includes/configuration/filter-application-key/javascript.sveltekit.mdx b/platform-includes/configuration/filter-application-key/javascript.sveltekit.mdx
index 4bd8888dc8416..c9fcebf40200c 100644
--- a/platform-includes/configuration/filter-application-key/javascript.sveltekit.mdx
+++ b/platform-includes/configuration/filter-application-key/javascript.sveltekit.mdx
@@ -2,10 +2,8 @@
export default defineConfig({
plugins: [
sentrySvelteKit({
- sourceMapsUploadOptions: {
- unstable_sentryVitePluginOptions: {
- applicationKey: "your-custom-application-key",
- },
+ unstable_sentryVitePluginOptions: {
+ applicationKey: "your-custom-application-key",
},
})
]
diff --git a/platform-includes/getting-started-complete/javascript.sveltekit.mdx b/platform-includes/getting-started-complete/javascript.sveltekit.mdx
index 3bca2bae88266..e3ffb0a47efce 100644
--- a/platform-includes/getting-started-complete/javascript.sveltekit.mdx
+++ b/platform-includes/getting-started-complete/javascript.sveltekit.mdx
@@ -320,12 +320,10 @@ import { sentrySvelteKit } from "@sentry/sveltekit";
export default {
plugins: [
sentrySvelteKit({
- sourceMapsUploadOptions: {
- org: "___ORG_SLUG___",
- project: "___PROJECT_SLUG___",
- // store your auth token in an environment variable
- authToken: process.env.SENTRY_AUTH_TOKEN,
- },
+ org: "___ORG_SLUG___",
+ project: "___PROJECT_SLUG___",
+ // store your auth token in an environment variable
+ authToken: process.env.SENTRY_AUTH_TOKEN,
}),
sveltekit(),
],
diff --git a/platform-includes/sourcemaps/overview/javascript.solidstart.mdx b/platform-includes/sourcemaps/overview/javascript.solidstart.mdx
index e6073ec5bda64..d98f2df9d3a8a 100644
--- a/platform-includes/sourcemaps/overview/javascript.solidstart.mdx
+++ b/platform-includes/sourcemaps/overview/javascript.solidstart.mdx
@@ -31,11 +31,9 @@ export default defineConfig(
/* Your SolidStart config */
},
{
- sourceMapsUploadOptions: {
- org: "___ORG_SLUG___",
- project: "___PROJECT_SLUG___",
- authToken: process.env.SENTRY_AUTH_TOKEN,
- },
+ org: "___ORG_SLUG___",
+ project: "___PROJECT_SLUG___",
+ authToken: process.env.SENTRY_AUTH_TOKEN,
},
),
);
@@ -52,15 +50,13 @@ export default defineConfig(
/* Your SolidStart config */
},
{
- sourceMapsUploadOptions: {
- org: "___ORG_SLUG___",
- project: "___PROJECT_SLUG___",
- authToken: process.env.SENTRY_AUTH_TOKEN,
- sourcemaps: {
- assets: ["./dist/**/*"],
- ignore: ["**/node_modules/**"],
- filesToDeleteAfterUpload: ["./dist/**/*.map"],
- },
+ org: "___ORG_SLUG___",
+ project: "___PROJECT_SLUG___",
+ authToken: process.env.SENTRY_AUTH_TOKEN,
+ sourcemaps: {
+ assets: ["./dist/**/*"],
+ ignore: ["**/node_modules/**"],
+ filesToDeleteAfterUpload: ["./dist/**/*.map"],
},
},
),
@@ -78,9 +74,7 @@ export default defineConfig(
/* Your SolidStart config */
},
{
- sourceMapsUploadOptions: {
- enabled: false,
- },
+ disable: true,
},
),
);
diff --git a/platform-includes/sourcemaps/overview/javascript.sveltekit.mdx b/platform-includes/sourcemaps/overview/javascript.sveltekit.mdx
index c0e7680a86700..d56d6e9fd6a1c 100644
--- a/platform-includes/sourcemaps/overview/javascript.sveltekit.mdx
+++ b/platform-includes/sourcemaps/overview/javascript.sveltekit.mdx
@@ -41,11 +41,9 @@ import { sentrySvelteKit } from "@sentry/sveltekit";
export default defineConfig({
plugins: [
sentrySvelteKit({
- sourceMapsUploadOptions: {
- org: "___ORG_SLUG___",
- project: "___PROJECT_SLUG___",
- authToken: process.env.SENTRY_AUTH_TOKEN,
- },
+ org: "___ORG_SLUG___",
+ project: "___PROJECT_SLUG___",
+ authToken: process.env.SENTRY_AUTH_TOKEN,
}),
sveltekit(),
],
@@ -63,11 +61,9 @@ import { sentrySvelteKit } from "@sentry/sveltekit";
export default defineConfig({
plugins: [
sentrySvelteKit({
- sourceMapsUploadOptions: {
- org: "___ORG_SLUG___",
- project: "___PROJECT_SLUG___",
- authToken: process.env.SENTRY_AUTH_TOKEN,
- },
+ org: "___ORG_SLUG___",
+ project: "___PROJECT_SLUG___",
+ authToken: process.env.SENTRY_AUTH_TOKEN,
}),
sveltekit(),
],
diff --git a/platform-includes/sourcemaps/upload/primer/javascript.sveltekit.mdx b/platform-includes/sourcemaps/upload/primer/javascript.sveltekit.mdx
index 1b0f37a34f78d..5a66e226cfa11 100644
--- a/platform-includes/sourcemaps/upload/primer/javascript.sveltekit.mdx
+++ b/platform-includes/sourcemaps/upload/primer/javascript.sveltekit.mdx
@@ -32,13 +32,11 @@ import { sentrySvelteKit } from "@sentry/sveltekit";
export default {
plugins: [
sentrySvelteKit({
- sourceMapsUploadOptions: {
- org: "___ORG_SLUG___",
- project: "___PROJECT_SLUG___",
- authToken: process.env.SENTRY_AUTH_TOKEN,
- // If you're self-hosting Sentry, also add your instance URL:
- // url: "https://your-self-hosted-sentry.com/",
- },
+ org: "___ORG_SLUG___",
+ project: "___PROJECT_SLUG___",
+ authToken: process.env.SENTRY_AUTH_TOKEN,
+ // If you're self-hosting Sentry, also add your instance URL:
+ // url: "https://your-self-hosted-sentry.com/",
}),
sveltekit(),
],