-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/sveltekit
SDK Version
"version": "9.15.0",
Framework Version
sveltekit "version": "2.20.8",
Link to Sentry event
N/A
Reproduction Example/SDK Setup
Warning I become: [plugin node-resolve] Could not resolve import "@sentry/sveltekit"
It also seems to me that the adapter-node also does not bundle it and leaves 'import "@sentry/sveltekit" as is, which means for azure swa this must be accompanied by according package.json (not good).
Could you please take a look and maybe provide just a simple ES npm?
Thnak you,
Konstantin
Steps to Reproduce
clone this branch https://github.com/kt-npm-modules/svelte-adapter-azure-swa/tree/feat/sentry
compare results of npm run build (adapter-node) and npm run build:swa (@ktarmyshov/svelte-adapter-azure-swa)
Expected Result
Sveltekit, adapter-node and other using rollup should be able to bundle @setnry/sveltekit I suppose.
Actual Result
@sentry/sveltekit is not bundled by rollup and left as external dep.
Metadata
Metadata
Assignees
Labels
Projects
Status