diff --git a/packages/sveltekit/src/server-common/rewriteFramesIntegration.ts b/packages/sveltekit/src/server-common/rewriteFramesIntegration.ts index a0e8351ba84f..d5928f8974b0 100644 --- a/packages/sveltekit/src/server-common/rewriteFramesIntegration.ts +++ b/packages/sveltekit/src/server-common/rewriteFramesIntegration.ts @@ -7,8 +7,8 @@ import { join, rewriteFramesIntegration as originalRewriteFramesIntegration, } from '@sentry/core'; -import type { GlobalWithSentryValues } from '../vite/injectGlobalValues'; import { WRAPPED_MODULE_SUFFIX } from '../common/utils'; +import type { GlobalWithSentryValues } from '../vite/injectGlobalValues'; type StackFrameIteratee = (frame: StackFrame) => StackFrame; interface RewriteFramesOptions { diff --git a/packages/sveltekit/src/server/handle.ts b/packages/sveltekit/src/server/handle.ts index f5f1eacd4b00..da429bc1040f 100644 --- a/packages/sveltekit/src/server/handle.ts +++ b/packages/sveltekit/src/server/handle.ts @@ -1,6 +1,6 @@ +import type { CloudflareOptions } from '@sentry/cloudflare'; import type { Handle } from '@sveltejs/kit'; import { init } from './sdk'; -import type { CloudflareOptions } from '@sentry/cloudflare'; /** * Actual implementation in ../worker/handle.ts diff --git a/packages/sveltekit/src/vite/sourceMaps.ts b/packages/sveltekit/src/vite/sourceMaps.ts index d0ee00bdcb27..8f7d7faa70d8 100644 --- a/packages/sveltekit/src/vite/sourceMaps.ts +++ b/packages/sveltekit/src/vite/sourceMaps.ts @@ -9,11 +9,11 @@ import { sentryVitePlugin } from '@sentry/vite-plugin'; import { type Plugin, type UserConfig, loadConfigFromFile } from 'vite'; import MagicString from 'magic-string'; +import { WRAPPED_MODULE_SUFFIX } from '../common/utils'; import type { GlobalSentryValues } from './injectGlobalValues'; import { VIRTUAL_GLOBAL_VALUES_FILE, getGlobalValueInjectionCode } from './injectGlobalValues'; import { getAdapterOutputDir, getHooksFileName, loadSvelteConfig } from './svelteConfig'; import type { CustomSentryVitePluginOptions } from './types'; -import { WRAPPED_MODULE_SUFFIX } from '../common/utils'; // sorcery has no types, so these are some basic type definitions: type Chain = {