Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref(nuxt): Revert Sentry Pinia plugin #14134

Merged
merged 1 commit into from
Oct 30, 2024
Merged

ref(nuxt): Revert Sentry Pinia plugin #14134

merged 1 commit into from
Oct 30, 2024

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Oct 30, 2024

reverts #14047

This change needs to be re-evaluated as it currently adds bundle size for all users.

@s1gr1d s1gr1d requested review from mydea and chargome October 30, 2024 08:23
@s1gr1d s1gr1d merged commit 472c228 into develop Oct 30, 2024
121 checks passed
@s1gr1d s1gr1d deleted the sig/revert-pinia-nuxt branch October 30, 2024 09:20
s1gr1d added a commit that referenced this pull request Nov 4, 2024
After reverting
#14134, this is a
more bundle-size friendly way of adding monitoring for Pinia in Nuxt.

The Nuxt SDK now allows you to track Pinia state for captured errors. To
enable the Pinia plugin, add the `piniaIntegration` to your client
config:

```ts
// sentry.client.config.ts
import { usePinia } from '#imports';

Sentry.init({
  integrations: [
    Sentry.piniaIntegration(usePinia(), {
      /* optional Pinia plugin options */
    }),
  ],
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants