File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 64
64
"@nuxt/module-builder" : " ^0.8.4" ,
65
65
"@sentry/cloudflare" : " 9.35.0" ,
66
66
"nuxt" : " ^3.13.2" ,
67
- "nuxi" : " ^3.13 .1" ,
67
+ "nuxi" : " ^3.25 .1" ,
68
68
"vite" : " ^5.4.11"
69
69
},
70
70
"scripts" : {
Original file line number Diff line number Diff line change 9
9
vercelWaitUntil ,
10
10
} from '@sentry/core' ;
11
11
import type { VueOptions } from '@sentry/vue/src/types' ;
12
- import type { CapturedErrorContext } from 'nitropack' ;
12
+ import type { CapturedErrorContext } from 'nitropack/types ' ;
13
13
import type { NuxtRenderHTMLContext } from 'nuxt/app' ;
14
14
import type { ComponentPublicInstance } from 'vue' ;
15
15
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export type RollupConfig = {
6
6
plugins : unknown [ ] ;
7
7
} ;
8
8
9
- export type SolidStartInlineConfig = Parameters < typeof defineConfig > [ 0 ] ;
9
+ export type SolidStartInlineConfig = NonNullable < Parameters < typeof defineConfig > [ 0 ] > ;
10
10
11
11
export type SolidStartInlineServerConfig = {
12
12
hooks ?: {
Original file line number Diff line number Diff line change @@ -37,10 +37,11 @@ export function withSentry(
37
37
38
38
const server = ( solidStartConfig . server || { } ) as SolidStartInlineServerConfig ;
39
39
const hooks = server . hooks || { } ;
40
+ const viteConfig = solidStartConfig . vite ;
40
41
const vite =
41
- typeof solidStartConfig . vite === 'function'
42
- ? ( ...args : unknown [ ] ) => addSentryPluginToVite ( solidStartConfig . vite ( ...args ) , sentryPluginOptions )
43
- : addSentryPluginToVite ( solidStartConfig . vite , sentryPluginOptions ) ;
42
+ typeof viteConfig === 'function'
43
+ ? ( ...args : Parameters < typeof viteConfig > ) => addSentryPluginToVite ( viteConfig ( ...args ) , sentryPluginOptions )
44
+ : addSentryPluginToVite ( viteConfig , sentryPluginOptions ) ;
44
45
45
46
return {
46
47
...solidStartConfig ,
Original file line number Diff line number Diff line change @@ -23495,7 +23495,7 @@ nth-check@^2.0.1:
23495
23495
dependencies:
23496
23496
boolbase "^1.0.0"
23497
23497
23498
- nuxi@^3.13.1 , nuxi@^3.13.2 :
23498
+ nuxi@^3.13.2 , nuxi@^3.25.1 :
23499
23499
version "3.25.1"
23500
23500
resolved "https://registry.yarnpkg.com/nuxi/-/nuxi-3.25.1.tgz#8baea8c41a916e418728cba0cdbc135e795f86bd"
23501
23501
integrity sha512-NeZDRVdn58QF3+clrkKRXE3PtfhE4hkmj8/Wqf6th707SDqmdBb/KZV2BE4lwL+FhgEDgtN7AMF8WZCkicudXg==
You can’t perform that action at this time.
0 commit comments