From 18af2a93ab7630bbaa0d3f40795fe8d823450b38 Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Fri, 20 Sep 2024 14:18:33 +0200 Subject: [PATCH] fix(sveltekit): Create bundler plugin env file instead of sentryclirc Ref https://github.com/getsentry/sentry-wizard/issues/674 --- src/sveltekit/sveltekit-wizard.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sveltekit/sveltekit-wizard.ts b/src/sveltekit/sveltekit-wizard.ts index 8b0a9418..78233c5a 100644 --- a/src/sveltekit/sveltekit-wizard.ts +++ b/src/sveltekit/sveltekit-wizard.ts @@ -7,7 +7,7 @@ import * as Sentry from '@sentry/node'; import { abort, abortIfCancelled, - addSentryCliConfig, + addDotEnvSentryBuildPluginFile, askShouldCreateExamplePage, confirmContinueIfNoOrDirtyGitRepo, ensurePackageIsInstalled, @@ -98,7 +98,7 @@ export async function runSvelteKitWizardWithTelemetry( alreadyInstalled: sdkAlreadyInstalled, }); - await addSentryCliConfig({ authToken }); + await addDotEnvSentryBuildPluginFile(authToken); const svelteConfig = await traceStep('load-svelte-config', loadSvelteConfig);