Commit 475d66f
authored
fix(sveltekit): Add Vite peer dep for proper type resolution (#12926)
Add a simple, optional peer dependency on Vite to
`@sentry/sveltekit` to ensure that it picks up whatever version of Vite
is being used in the specific package it's installed in. This is necessary
because `pnpm` otherwise could resolve the `vite` import to a wrong
version, especially in monorepo environments1 parent 9d1b35d commit 475d66f
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
| |||
0 commit comments