You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/sveltekit/README.md
+83-4Lines changed: 83 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -165,15 +165,94 @@ The Sentry SvelteKit SDK mostly relies on [SvelteKit Hooks](https://kit.svelte.d
165
165
166
166
This adds the [Sentry Vite Plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/vite-plugin) to your Vite config to automatically upload source maps to Sentry.
167
167
168
+
## Uploading Source Maps
169
+
170
+
After completing the [Vite Setup](#5-vite-setup), the SDK will automatically upload source maps to Sentry, when you
171
+
build your project. However, you still need to specify your Sentry auth token as well as your org and project slugs. You
172
+
can either set them as env variables (for example in a `.env` file):
173
+
174
+
-`SENTRY_ORG` your Sentry org slug
175
+
-`SENTRY_PROJECT` your Sentry project slug
176
+
-`SENTRY_AUTH_TOKEN` your Sentry auth token
177
+
178
+
Or you can pass them in whatever form you prefer to `sentrySvelteKit`:
This SDK is still under active development and several features are missing.
171
254
Take a look at our [SvelteKit SDK Development Roadmap](https://github.com/getsentry/sentry-javascript/issues/6692) to follow the progress:
172
255
173
-
-**Source Maps** upload is not yet working correctly.
174
-
We already investigated [some options](https://github.com/getsentry/sentry-javascript/discussions/5838#discussioncomment-4696985) but uploading source maps doesn't work automtatically out of the box yet.
175
-
This will be addressed next, as we release the next alpha builds.
176
-
177
256
-**Adapters** other than `@sveltejs/adapter-node` are currently not supported.
178
257
We haven't yet tested other platforms like Vercel.
179
258
This is on our roadmap but it will come at a later time.
0 commit comments